Hello all,
I am trying to write some code which will assign the text values of 5 textboxes with the same name definitions except for the last character which is an incremental number. I am trying to compare the ID's of the textbox controls in a specific page and if the control's ID mataches the next increment of the control naming conevtion then the text value of that particular control is added to the arraylist. I am writing this using Visual Studio 2005 Pro with VB.NEt and ASP.NEt 2.0. Below is an example of the code right now. I have also tried using Me.Controls however I throw a conversion error saying it cannot convert the masterpage file into the textbox control. any ideas would help.
1 If txtCategory1.Text = "" Then
2 'err ...
Go to the complete details ...