|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Button in a datagrid (windows form)Hi all,
I'm trying to get a datagrid to display a button in every row, so that when the user clicks on it, the value from the first column (record index) is read, and then a new window opens for the user to see the full record (for editing or what not). I've seen examples in ASP.Net all over the place, but none for Windows Forms. Alternatively the user could just click on a row (no button) and the window would open (not sure how to capture a row-click event, either). I would use a listview, but the sortable columns on the datagrid are pretty convenient. MC Hi,
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q888q Ken ---------- "MCDave" <daven(delete_th***@miraclecatDELETETHISTOO.com> wrote in message I'm trying to get a datagrid to display a button in every row, so that whennews:epOFw4NMFHA.3328@TK2MSFTNGP14.phx.gbl... Hi all, the user clicks on it, the value from the first column (record index) is read, and then a new window opens for the user to see the full record (for editing or what not). I've seen examples in ASP.Net all over the place, but none for Windows Forms. Alternatively the user could just click on a row (no button) and the window would open (not sure how to capture a row-click event, either). I would use a listview, but the sortable columns on the datagrid are pretty convenient. MC |
|||||||||||||||||||||||