I have a question and can't seem to find the solution. I have datagridview columns with multiple types:
- Textbox
- Checkbox
- Button
I used dgv1.AllowUserToAddRows = true;. And the problem is new row doesn't show when the button column is clicked. For textbox and checkbox columns, it is working.
Please help me on this.
Thanks.
Just found an alternative solution. Instead of Edit Row by having dgv1.AllowUserToAddRows = true, i have inlcuded another button for dgv1.rows.add(). This could already work. Thank you.
Here is the link:Rows cannot be programmatically added to the datagridview's row collection when the control is data-bound