Pk EmployeeiD Date Time
| 1 | Emp1001 | 5/8/2012 | 00:03:02 |
| 2 | Emp1001 | 5/9/2012 | 00:03:02 |
| 3 | Emp1001 | 5/10/2012 | 00:00:49 |
the above values are inserted successfully.....in their respective dates....
If a insert the above values again in the same table means
(ie..)Employeeid Date Time
Emp1001 5/9/2012 00:03:02
it will show some message like (Date Already Exists)....

Posted May 14, 2012, 8:39 PM EDT
Do you have unique constraints on date column or combination of date and empid columns?
MohanRaj C21 reputationPosted May 14, 2012, 9:17 PM EDT
Anil KumarRank #367 · 6.8K reputationPosted May 15, 2012, 2:28 AM EDT
http://www.c-sharpcorner.com/Forums/Thread/172373/values-already-exists-in-the-table.aspx
Please wait for answers
V S N Raju KanumuriRank #8,839 · 215 reputationPosted May 15, 2012, 3:12 AM EDT
write following code in insert button click
Kunal VaishyaRank #990 · 2K reputationPosted May 15, 2012, 3:28 AM EDT