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
Administrator
Tech Writer
2.2k
1.5m
needed: C# equivelent of GetElementByID
Mar 17 2003 5:38 PM
hi, Here is the Scenario.... I have a hashtable, Key is a number, value is the textbox that I want to populate (ie/ FirstNameTextbox). I want to be able to get that value out of there, and populate THAT textbox with a value. ie/ the code COULD look like this: FirstNameTextbox.Text = "some Value"; ...but i am doing this with Hundreds of textbox's, so I'd like to be able to write a method to do this, something like this: public void PopulateTextbox(string textBoxName, string textBoxValue){ ????????????????????????????????????????? } what is the line I am missing? I think it should be something like: Page.GetElementbyID("textBoxName").Value = textBoxValue; can anyone help me????
Reply
Answers (
2
)
Inheritance
Generate an xml file with StringWriter(UTF-8) ??