i want to design a table whose rows are retrieved from another aspx page via xml
say i have a page getstudents.aspx
which gives all the students in the database in the following format
this way i get data from getstudents.aspx
now i want to design a page selectstudents.aspx
which outputs following html (a table with a checkbox in each row)
in the following way
<td><input type="checkbox" name="cbRoll" value="8001" id="cbRoll8001" /></td>
<td><input type="checkbox" name="cbRoll" value="8002" id="cbRoll8002"/></td>
<form id="form1" name="form1">
the table with checkboxes is dynamically generated at runtime
with id of checkbox,value of checkbox(8001,8002,etc) and the name (AAAA,BBBB,etc) in the next corrosponding column
by reading data from xml given by page getstudents.aspx
a function (say) addremove(this.id) should be called whenever a checkbox is ticked
or unticked which should add or remove the value of checkbox (8001,8002,etc) to/from a string array named (say) 'values'
i will then submit to the webpage a string via POST containing "8001;8002;8003 and so on"
depending on which checkboxes are checked
obviously i will make the string from the array 'values'
i do not want to use readymade usercontrols avail in asp.net
what i want to do is more complicated than this, but this is a simplified version of it
so for this what should be structure of aspx page and what should be code behind in c#?
thanks in advance