Hi guys i have problem I have table Employee have two fiels
EmployeeID
EmployeeName
And i have two useres A,B
User A changes EmployeeName from michel to morinio when EmployeeID=5
User B need to change EmployeeName from michel to polo when EmployeeID=5
so that it must have message error tell him please wait there are another user changes in EmployeeID =5
this is exactly what i need
i need to do that using timestamp data type
how i do that

Prasham SabadraRank #116 · 19.3K reputationPosted Feb 26, 2015, 1:16 PM EST
Please check once following articles:
https://msdn.microsoft.com/en-us/library/bb404102.aspx
http://www.codeproject.com/Articles/114262/ways-of-doing-locking-in-NET-Pessimistic-and-opt