Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32056

how to insert only unique records in database using LINQ

$
0
0
my question is i have two columns
1st is employeeid
2nd is employeename


employee id is primary key...

but i also want that employeename also unique..so how can i do on click of submit button.if employee name is match wid other colum..then message is display tht already exists..


i want thaat solution in LINQ


Viewing all articles
Browse latest Browse all 32056

Trending Articles