Hi hi,Anyone knows how is it possible to update the primary key of the table ? There is no foreign key in the table and the primary key is not an ID as it is not meant to have duplicate records.How do i do this :cm = new SqlCommand("Update tbPorts set PortName= @portName, CountryName= @CountryName, City = @city, Users = @user where PortName=@portName2");SqlParameter p1 = new SqlParameter("@portName", SqlDbType.NVarChar, 200);SqlParameter p2 = new SqlParameter("@portName2", SqlDbType.NVarChar, 200);[/code]