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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataBound Grid with column type as Arraylist

Thread ID:

Created:

Updated:

Platform:

Replies:

19318 Sep 23,2004 12:32 PM UTC Sep 24,2004 02:58 AM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 23, 2004 12:32 PM UTC

Hi, I am getting a CLR exception "Negative key" when i try to hide a column of type Arraylist in the databoundgrid. Could you let me know what the problem could be. Thanks, Sheela

Administrator [Syncfusion]
Replied On September 23, 2004 02:43 PM UTC

Hi Sheela, that doesn''t ring any bells here what could be wrong. Do you have a small example that demonstrates the problem? I will have to debug into it to find out what might be wrong. I am also not sure if the databound grid does support DataColumn with type ArrayList at all. Can you remove that column from the DataTable before you bind it to the DataBoundGrid? Stefan

Administrator [Syncfusion]
Replied On September 24, 2004 02:58 AM UTC

Hi stefan, thanx for ur response.. I just changed the type of the column to object and then later cast to Arraylist on retrieval. the exception is gone :) Guess grid supports only primitive data types !!! Sheela >Hi Sheela, > >that doesn''t ring any bells here what could be wrong. Do you have a small example that demonstrates the problem? I will have to debug into it to find out what might be wrong. > >I am also not sure if the databound grid does support DataColumn with type ArrayList at all. > >Can you remove that column from the DataTable before you bind it to the DataBoundGrid? > >Stefan >

CONFIRMATION

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.

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

;