how to get exact datalist in asp.net.
i have webform in alphabetical order like below:
i am using 10 datalist to segregate like,
A-B C-D E-F G-H .......Y-Z // thesre are link button.
this A-B contais 10 records, C-D contains 10 records like that ends up till Y-Z. i wanted show all records of a toz. so i put the coding in page load event
webform.aspx.
<table>
<tr>
<td>
firstdatalist //A-B will bind.
<td>
</tr>
<tr>
<td>
second datalist // C-D will bind.
</td>
</tr>
<tr>
<td>
third datalist //E-F will bind.
</td>
</tr>
like that i wll use tr and td till Y-Z.
</table>
when i run the program, i will get web form in browser below.
A-B C-D E-F ..........Y-Z
A-B
A-B
C-D
C-D
.
.
Y-Z
Y-Z
Till now. everything works fine. in top, A-B C-D E-F which is link button, right? so, when if user click E-F , It has to scroll to E-F records correctly. and if user clicks M-N linkbutton, It has to go M-N records correctly.
How can i do that? help needed.
Thank you.