Your question doesn't really make sense. You can't "put a string into [a]
webcontrol". You can set a property of the class. The word "webcontrol"
denotes a base class for a whole slew of classes that inherit
System.Web.UI.WebControl. They all have different properties. For example,
if you want to put a string into the "box" part of a TextBox, you would set
the Text property of the class. Example:
MyTextBox.Text = "Some String"
It is critical that you understand object-oriented programming in order to
work with any .Net application.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.
"THY" <> wrote in message
news:...
> Hi,
>
> I have a page with few webcontrol, but how do I put a string into the
> webcontrol ?
>
> does webcontrol support features like file.ascx?string1=data&string2=data
?
>
> thanks
>
>