Found code to do this but get an error I cannot correct.
Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server.
This statement gives me the error: gv.RenderControl(htw)
Any help is really appreciated. I got this cod from other threads in here
Here is the asp and the vb code:
Main asp page:
<form id="form1" runat="server">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AllowSorting="True" DataSourceID="SqlDataSource1" Width="809px">
<asp:CommandField ShowDeleteButton="True" />
View Complete Post