There are two ways to do this. First, if the code is running on the
server side, then there most likely is an object that represents the field
which you can set the value on.
If you want to set the value on the client side, then you will have to
find the HTML element through Javascript, (through the all collection on the
document most likely).
I really don't understand your question - but it seems like you're trying to
set values of textboxes, labels,etc from inside code. In that case, you
could write some code
You question is not very clear, are you trying to set an "initial" value
on a webform control?
if so all you have to do is set the correct property in the code behind:
theTextbox.Text = "This text will appear in the page";
If this is not what you want, give more details about it.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.