Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 .NET Inside SQL Server (2005)
 Check ID

Author  Topic 

shapper
Constraint Violating Yak Guru

450 Posts

Posted - 2009-03-11 : 22:02:24
Hello,

I am inserting a record using LinqToSQL in a table. I am also sending the ID. How can I check in my C# if the ID already exists?

Probably an error would be fire ... how can I check it?

Thanks,
Miguel
   

- Advertisement -