MohamedEid

MohamedEid

  • 1k
  • 693
  • 2.3k

how to move row from devexpress gridview to another gridview

Jul 10 2024 7:06 PM

I'm a beginner of C# users.
I'm using the DevExpress with C# Window Form Application.

I'm trying to move row from gridcontrol_1 to gridcontrol_2.

The gridcontrol_1 connected from sql server DB TableA. i using (LINQ)
 

If I clicked on items from gridcontrol_1 then move to gridcontrol_2 by and remove from gridcontrol_1 
If I deselect items from gridcontrol_2 then move back to gridcontrol_1 by click event.
Finally, I want to save(insert) the gridcontrol_2 items to the SQL server TableB. using  (LINQ)

I don't know how to code what I want.

I found a video clip from youtube similarly I want to do.
But, the clip shows only DataGridView Control, not GridControl.

and how i save gridControl2 to DB by LINQ


Answers (2)