I saw the sample
https://wisej.com/support/question/datagridview-cell-merge
but here the rows are manually added and datagridview is not data bound. How can I add details control for row that will show data from different table. Also I would like this to be show upon request (click on button in the row itself)
Thanx,
D
Hi Dino,
You can’t add rows to a data-bound DataGridView.
You can simulate a DataBound DGV by calling the Fill() method of the DataGridView, and passing the data object.
From there, it’s a matter of handling the CellClick event and implementing your logic, and also applying the same styling principles of the sample found in the forum post you linked.
Or, you can build the DataGridView by code.
HTH,
Alaa
Please login first to submit.