We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Deleting AutoIncrement field in a Grid

Hi All, We have autoincrement field in our grid which is populated from the table itself. now the problem while deleting the record it thows an error saying invalid cast from system.Int32 to system.GUID. any help in resolving matter is appreciated. Thanking all, Purnaram.k

1 Reply

AD Administrator Syncfusion Team March 25, 2005 01:58 AM UTC

I tried to see this problem in this sample using version 3.0.1.0. I can click a row header and delete the row without a problem. Can you? http://www.syncfusion.com/Support/user/uploads/GDBG_AutoInc_1379a2bb.zip What is the DataType of the increment DataColumn? Is it int? If you set the debugger to break on exception, can you post the call stack here? Can you modify the sample to show the problem you are having?

Loader.
Live Chat Icon For mobile
Up arrow icon