ado_dotnet thread: DataBinding TextBox in CodeBehind
I would like to bind a text box to a column in either a DataTable or
DataReader. I have found documentation on how to do this with Windows
forms, but I would like to do it with a Web form. The Windows forms way
looks like this:
TextBox1.DataBindings.Add("Text", ds, "Products.ProductName")
Unfortunately this doesn't seem to work in a Web forms. I keep running
into dead ends here and would appreciate any suggestions or ideas.
|





