I had a gridview that was not dynamically generated.
I now need to create my gridview dynamically.
I used to have the following column (one of many):
<asp:Button ID="sl" Text="nsl" runat="server" CommandArgument='<%# DataBinder.Eval(Container, "RowIndex") %>' CommandName="NSL" OnClick="chlgrd" />
I have been struggling with creating this dynamically. I am fine with generating all my other columns dynamically, none of which are templated fields.
Any advice would be greatly appreciated.
View Complete Post