TextBox Array
Hi, does anybody knows how to make a TextBox Array in C#.NET Web Application?
Thanks,
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
mallikarjun prasadPosted Jul 14, 2006, 2:21 AM
Hi I don't understand what u r saying. The following code will take input from text box and repeat that many times
noOfFriends = Convert.ToInt32(TextBox1.Text.ToString());int
ArrayList friends =
new ArrayList(); for(int i=0; i<=noOfFriends; i++){
friends.Add(i);
}
DataGrid1.DataSource = friends;
DataGrid1.DataBind();