hello , how can i add button inside a column rows from code behind (and with autogeneratecolumns) alongside with the row data like the picture mentioned, please help .thank you .
Hello,
Please refer to the Using Item Template topic for instructions on how to add button (or another content) to a column and to the How to add row to WebDataGrid in C# forum thread for instructions on how to programmatically add rows to the grid via server code.
Please let me know if you have further questions, I will be glad to help.
Hristo
thank you for the quick reply but i already tried that and that's not what i want , please understand that i need to put a button in the corner of a data row along side with the data on a column like the picture mentioned and how i do that ? please help
Hi Garbi,
I understand your scenario and my recommendation is the same - use Item Template to place both the cell value and a button inside the cell.