retreving selected values into another datagridview in vb.net2005

  • 13 years ago

    hi,
    i have added checkbox column to windowsdatagriview in vb.net 2005
    & if i select those values, how can i get them into another datagridview
    plz help me out....

  • 13 years ago

    If you load your data into a dataTable first, then add this dataTable to the DataGridView datasource, it should be updated so you can then use that dataTable in whatever dataSource necessary.

    Although if you use a dataTable for the DataGridView and then create a DataView from the DataTable, you can then control that data in a far more finite way; such as only adding modified values from the DataGridView to the other DataGridView.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“In order to understand recursion, one must first understand recursion.”