W
William Ryan
I'm assuming you have your key already set on the server.
Check this link and about half way down the code, you'll
see how to do it.
http://samples.gotdotnet.com/quickstart/howto/doc/adoplus%
5CUpdateDataFromDB.aspx
You can do it after the fact if you want, which gives you
much more flexibility depending on what you want to
accomplish. http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpguide/html/cpcondefiningprimarykeyfortable.asp
The cool thing about ADO.NET is that can create keys and
relationships between fields that don't have them defined
in the db, and even on fields that don't exist in the
actual db.
If you have any problems let me know.
Good Luck,
Bill
W.G. Ryan
www.knowdotnet.com
Check this link and about half way down the code, you'll
see how to do it.
http://samples.gotdotnet.com/quickstart/howto/doc/adoplus%
5CUpdateDataFromDB.aspx
You can do it after the fact if you want, which gives you
much more flexibility depending on what you want to
accomplish. http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpguide/html/cpcondefiningprimarykeyfortable.asp
The cool thing about ADO.NET is that can create keys and
relationships between fields that don't have them defined
in the db, and even on fields that don't exist in the
actual db.
If you have any problems let me know.
Good Luck,
Bill
W.G. Ryan
www.knowdotnet.com