I have one table like this ...
Pk EmployeeiD Date Time
1 Emp1001 5/8/2012 00:03:02
2 Emp1001 5/9/201200:03:02
3 Emp1001 5/10/201200:00:49
the above values are inserted successfully.....in their respective dates....
If i 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)....
I didnt use Constraints in my table... I didnt know about constraints...am a Beginner

Jiteendra SampathiraoRank #585 · 4.1K reputationPosted May 14, 2012, 11:04 PM EDT
Below link is good one
http://www.dotnetfunda.com/forums/thread6442-check-if-an-username-already-exists-in-the-database.aspx
http://www.daniweb.com/software-development/csharp/threads/177604/check-whether-username-alraedy-exists-in-database
Modify these code to your requirement..
Hope it help you..
Anil KumarRank #367 · 6.8K reputationPosted May 15, 2012, 1:18 AM EDT
Kunal VaishyaRank #990 · 2K reputationPosted May 15, 2012, 1:19 AM EDT
Anil KumarRank #367 · 6.8K reputationPosted May 15, 2012, 2:15 AM EDT
I didn't get you, please clear