yibing26

yibing26

  • NA
  • 26
  • 0

how to create an array of textboxes??

Oct 13 2004 1:55 AM
how do i create an array of textboxes in the aspx file and how do i access their values in the aspx.vb file?> i have 31 textboxes, and their id are std1,std2,std3....so on.. std31 when i click on the submit button, i want to validate each textboxes and submit to database.. if std1.text = "" then response.write "empty values found" end if i want to reduce my coding to something like this (like in vb6), so that i dun have to repeat another 30 times for other textboxes... for i = 0 to 31 std(i).text = "empty values found" end if can anyone help me???