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

Transferring rows from one GridDataBoundGrid to another

Thread ID:

Created:

Updated:

Platform:

Replies:

5327 Jun 30,2003 09:47 AM UTC Jul 2,2003 07:29 AM UTC WinForms 2
loading
Tags: GridControl
Raj Warrier
Asked On June 30, 2003 09:47 AM UTC

Hi, I have two GridDataBoundGrids on a single form, which are populated by two different Dataset tables (which are populated by different SQL select queries). The columns and the data format in both the grids are same. I need to transfer rows from one grid to another upon click of a button. For example, if I select a row in the left side grid and click on "Add", it should remove that row from the left grid and add it to the right one. Similarly selecting a row in the right grid and clicking on "Remove", should remove the row from the right grid and add it to the left one. Can someone please help me with this? Thanks in advance, Raj

grer
Replied On June 30, 2003 04:26 PM UTC

You couldn't just move copy and delete the datarow from the first grid data source and add the copy to the second grid data source. Let me know if this works for you Grer > Hi, > I have two GridDataBoundGrids on a single form, which are populated by two different Dataset tables (which are populated by different SQL select queries). The columns and the data format in both the grids are same. I need to transfer rows from one grid to another upon click of a button. > For example, if I select a row in the left side grid and click on "Add", it should remove that row from the left grid and add it to the right one. Similarly selecting a row in the right grid and clicking on "Remove", should remove the row from the right grid and add it to the left one. > > Can someone please help me with this? > Thanks in advance, > Raj >

Raj Warrier
Replied On July 2, 2003 07:29 AM UTC

Hi Grer, Yes, thanks, that did the trick. I manipulated the dataset directly and it worked. Thanks, Raj > You couldn't just move copy and delete the datarow from the first grid data source and add the copy to the second grid data source. > > Let me know if this works for you > Grer > > > Hi, > > I have two GridDataBoundGrids on a single form, which are populated by two different Dataset tables (which are populated by different SQL select queries). The columns and the data format in both the grids are same. I need to transfer rows from one grid to another upon click of a button. > > For example, if I select a row in the left side grid and click on "Add", it should remove that row from the left grid and add it to the right one. Similarly selecting a row in the right grid and clicking on "Remove", should remove the row from the right grid and add it to the left one. > > > > Can someone please help me with this? > > Thanks in advance, > > Raj > > >

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

;