TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Licenciando Cantinas
NA
14
1.8k
How to erase Textboxes Controls With Same Basename???
Apr 15 2017 9:11 PM
i want to go through controls with almos the same name, TextBox1, TextBox2, TextBox3 & TextBox4.
i want to make a 'while' to erase the txtboxes and as the base name is the same (TextBox) i need just a number at the end of the string and convert the string in a TextBox Control. something like this:
while (n < 4)
{
string _strTXT = "TextBox";
(_strTXT+n).Text=null;
n++;
}
Reply
Answers (
2
)
MVC 5 login and sign page taking the value from dataabase
how to remove owin security and login from database in mvc 5