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.
Unfortunately, activation email could not send to your email. Please try again.

Deleting AutoIncrement field in a Grid

Thread ID:





26551 Mar 24,2005 04:18 PM Mar 24,2005 08:58 PM Windows Forms 1
Tags: GridControl
Purnaram Kodavatiganti
Asked On March 24, 2005 04:18 PM

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

Administrator [Syncfusion]
Replied On March 24, 2005 08:58 PM

I tried to see this problem in this sample using version 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?


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.