Quote:You should have some primary key field value in a HiddenField or something. So, if it is an existing record, you can get a Id which will be greater than 0, meaning a valid Id. So, if Id is greater than 0, then update that record, else insert.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)