Hi
I have used repeater to pull data from one of the SQL table to create a row in table, along with these are radiobuttons list and labels which all together creates a table like this:
<p style="text-align: left"><asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:Weekly_QAConnectionString %>" SelectCommand="SELECT * FROM [weekly_tests]"></asp:SqlDataSource></p><h1 style="text-align: center" /><table><tr><th>Select</th><th>Test</th><th>Result</th><th>Date</th><th>Operator</th><th>Comment</th></tr><asp:Repeater ID="Repeater2" runat="server" DataSourceID="SqlDataSource2"><ItemTemplate><tr><td><asp:CheckBox ID="CheckBox1" runat="server" /></td><td><asp:Label ID="lblTestName" runat="server" Text='<%#Eval("test_name") %>' /></td><td><asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"><asp:ListItem>Good</asp:ListItem><asp:ListItem>Not Good</asp:ListItem><asp:ListItem>NA</asp:ListItem></asp:RadioButtonList></td><td><asp:Label ID="Label1" runat="server"><%=Date.Now.ToString("yyyy-MM-dd") %></asp:Label></td><td><asp:Label ID="Label2" runat="server" Text="operator"></asp:Label></td><td><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td></tr></ItemTemplate></asp:Repeater></table>
My question is, can I use repeater to create table again using repeater with the values which will be selected in the above table (like radiobutton list, comments textbox & checkbox)? Which can be dispayed on the same page(maybe AutoPostBack) or using the button to post them on the next page, which finally will be written on to another table in database?
Can I get the code to for this situation please, vb preferable.
Thanks a lot in advance.
Harkirat