Add column with buttons to datagrid
Hi guys,
I have a dataset DSExcel which contains a datatable with 6 columns. I also have a windows (not ASP) datagrid whose datasource is set to the dataset. The datagrid contains a tablestyle.
What I want to do is to add a column (tthe seventh column) to the datagrid (and dataset) which contains a button in very row. I also must be able to detect if the button in the datagrid cell is clicked.
Is there anybody who can help me with this. I searched the internet and found a lot of examples for an ASP-datagrid but none for a windows datagrid.
A code example would be welcome.
Thanks