Monday, August 16, 2010

Binding data to a textbox control in asp.net?

Can anyone please how do we bind data to a textbox.


i knw hw do it in gridview n all...Binding data to a textbox control in asp.net?
You just set its Text property like this:





MyTextBox.Text = ';This is my string';;





Hope this helps.

No comments:

Post a Comment