In my asp.net web applicaiton I am using objects to add infomation to database something like this
Employee emp1 = new Employee()
emp1.name = "something"
emp1.age = some age
InsertEmployee(emp)
This code works fine. But however if multiple users are trying to insert the employee data then data gets mixed up.
User then calls up and says , "The age I entered is different from what it is showing for employee XXX.
How to fix this ? Whats the good method to make the object unique ?.
Thanks....