Click here to Skip to main content
15,072,134 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have 2 forms. in form1 i have datagridview1 and in form2 a checkedlistbox. i want whenever the user add rows to datagridview in form1 the column1 data moves to checkedlistbox in form 2.

What I have tried:

i didn't try anything yet because i don't know how to do it
Updated 4-Aug-17 8:55am
Richard Deeming 4-Aug-17 12:01pm
Windows Forms? WPF? Xamarin? ASP.NET WebForms? ASP.NET MVC? Something else?
Ilyas Zahir 4-Aug-17 13:47pm
windows forms

1 solution

Use the DataGridView RowAdded event, see example here: c# - Is there any way to get newly added rows in datagridview? - Stack Overflow[^]
Ilyas Zahir 4-Aug-17 13:48pm
its far away from what i asked for

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900