D
dotpro2008
In ASP.NET 2.0 project, I have added a dataset and have setup the datatable
and configured the datatableadapter (using the wizards).
In my code I can use the mytableadapter.insert method to insert a new record
in the table.
How do I check if the key column value being inserted this time already
exists and hence prompt the user the message ("userid already exists" or
"email address already exists")
Thanks,
and configured the datatableadapter (using the wizards).
In my code I can use the mytableadapter.insert method to insert a new record
in the table.
How do I check if the key column value being inserted this time already
exists and hence prompt the user the message ("userid already exists" or
"email address already exists")
Thanks,