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


Thread ID:





54288 Jan 5,2007 04:38 AM UTC Jan 5,2007 11:27 AM UTC WinForms 5
Tags: GridControl
Asked On January 5, 2007 04:38 AM UTC

hi all,

When a map the arraylist to the GridDataBoundGrid
which already have some value bind to it gives the "DuplicateMappingName" error.

I clear the datagrid by assigning its datasource = null,eventhough it produce the same Mapping error.What to do bind to bind new set of records to it.

please give me a solution

Thanks in advance,


Administrator [Syncfusion]
Replied On January 5, 2007 04:47 AM UTC

Hi Dhana,

Try calling the InternalColumns.Clear() method before restting the underlying datasource of the grid. Here is a code snippet.

this.gridDataBoundGrid.DataSource = newArraylist;

Best Regards,

Replied On January 5, 2007 08:11 AM UTC

Hi haneef!

I include this.gridDataBoundGrid.Binder.InternalColumns.Clear

this line before i am bind it to new arraylist.but i am getting another error like
"Input string not in correct format"

i strucked up!


Administrator [Syncfusion]
Replied On January 5, 2007 08:35 AM UTC

Hi Dhana,

We were not able to reproduce the issue here. Is it possible for you to upload us a sample or modify the attached samples to reproduce the issue here? This will help us to analyse the issue further.

Here is a sample.

Best Regards,

Replied On January 5, 2007 09:02 AM UTC

hi haneef!

when My code is like this..

aCurrentList =new CLIList();
aCurrentList = ELActions.Session.BidSheet(ELActions.Session.CurrentProject); // arraylist
dgCurrentTransaction.DataSource =ELActions.Session.BidSheet(ELActions.Session.CurrentProject);//binding to grid.

i am getting error which i attached to u.

when i include code given by u before assigning arraylist like..

aCurrentList =new CLIList();
aCurrentList = ELActions.Session.BidSheet(ELActions.Session.CurrentProject);
dgCurrentTransaction.DataSource =ELActions.Session.BidSheet(ELActions.Session.CurrentProject);

then it creates error "Input string in correct Format"

please suggest me a idea




Administrator [Syncfusion]
Replied On January 5, 2007 11:27 AM UTC

Hi Dhana,

We are not sure of what be might be causing this strange behavior without a working sample. Are you setting any cellvalue of the cell dynamically using QueryCellInfo/PrepareViewStyle event? Please post us a sample showing this problem, which will help us to find the issue and resolve this.

Thanks for your patience.



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