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

Deleting AutoIncrement field in a Grid

Thread ID:





26551 Mar 24,2005 09:18 PM UTC Mar 25,2005 01:58 AM UTC WinForms 1
Tags: GridControl
Purnaram Kodavatiganti
Asked On March 24, 2005 09:18 PM UTC

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 25, 2005 01:58 AM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon