Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/68721?pagenum=1
05 November 2025, 14:18
Topic
Rajib_D
How shall I display row Items from a table OnClic
21 June 2009, 10:24
Hi I am Using ASP as Font end and sql server 2005 express as back end. I want Radio Buttons to be repeated in each row of the 1st Column in a table and in the other Columns ,the database Items needs to be loaded.I did it like this look at ex:1..................... My Problem is How Can I Display the Table Items (i.e ID,Name)When I Click any radio Buttons of any specific Row in the table.Just i want to display them in textbox For Example If I click the radiobuttons in the 3rd row the ID and name in the table to be displayed in textbox.Can anybody help
<% Dim k k = 1 while Not rsRecords.EOF Response.write("<TR bgcolor = yellow><TD>") Response.write("<TD>") Response.write("<input id=""Radio1"" type=""radio"" name = ""R" & k & """>") Response.write("<TD>") Response.write(rsRecords(0)) Response.write("<TD>") Response.write(rsRecords(1)) rsRecords.Movenext k = k+1 wend rsRecords.close Conn.Close %> </TABLE>