I have to place two columns buttons( Edit and Delete) under one columns using C# window form application. I tried every ways that I searched in every place but nothing work. Send me help pls. Merge two column headers also okay then I can set border to none .
1 Answer
You can't put two buttons in one column. A column can only be one type (e.g. text, button, checkbox, ...).
You can create a custom column to do this but I have no idea how this works. I found this: How can i add two buttons to a single datagrid column dynamically?
1 Comment
Wonder Kyle
thanks . I solved it with cell painting event and make border style to none between two button.