I have used a webdatagrid.I added a new row,but the id column value is zero.I want max(id)+1 in ID column.How can give that?
I am adding row through UI (Grid inbuilt).The user can't enter ID column.it should be automatically create Id column when the data bind to grid(When we press enter from last column it is added).The ID column is int.It should automatically assign to the new column (MAX(ID)+1) when we press eneter that is the newly added row.
We are new in this infragestics control.So please help me,It would be great.
Regards
The Development Team
Hi,
Are you adding a row programatically or through the UI? If this is a primary key column that is hidden, you would probably have to manually enter this data. Let me know your situation and we should be able to solve it.
regards,David Young