Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

How to: datagridview button navigation + copy data

$
0
0

I have a datagrid which is bound to a database. Ive put a button at the beginning of each row that says EDIT (new DataGridViewButtonColumn). I need some way that when that button is clicked, it opens a new form with textboxes filled with the Row's data (the same row the button is clicked). I basically need to copy the row's data and bring it to another form upon clicking...

Do not hesitate to ask for more info!

Thank you!

private void MyDataGrid_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
             ????????????????
        }



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>