3
Answers

how to insert only unique records in database using LINQ

Ask a question
vikas kanani

vikas kanani

11y
2.2k
1
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


Answers (3)
Next Recommended Forum