Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Answers
How to get asp textbox values by loop
Ravi Shekhar
11y
3.8k
1
Reply
Suppose I have 5 textbox named txtRate1,txtRate2,txtRate3,txtRate3,txtRate3
all are asp control.
I want to get values using for loop .
for(int i=1; i<=5; i++)
{
string s= ("txtRate"+i).Text;
}
it gives error .
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
export data to excel file in aasp.net
Can i get value of dropdown list using Request.Form["ddl"]?