Dataset & Primary Key Generation Problem

Hi Everyone,

I have been developing client server application using VC++.NET & SQL Server 2000. Now I installed my SQL Server in Windows Server 2003 & Windows XP client machine. The connection between the SQL Server & Client is working well. But I have a problem while executing my application which is developed for user entry. When I adding a new row the each machine generating the same primary key value in my dataset but the real primary key value storing in the database is correct. Why these problem? Can someone help me?

Thanks in Advance

Jose

[1254 byte] By [JoseTA] at [2007-12-17]

.NET Development

Site Classified