Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

databinding in ASP.net 2.0

Status
Not open for further replies.

toptomato

Programmer
Jul 22, 2005
62
US
hi guys,
in asp.net 1.1 one was able to bind web form's TextBox's text property to a datasource. Example: suppose there are 5 different textboxes in a web form. The webform also has a dataset in the designer view, which has a datatable called values, and in that table there is only one row with 5 columns. Then one can easily databind each of the textbox's text property to each of the columns in the datatable of the dataset.
Now is such a thing possible in asp.net 2.0 with datasources since i don't believe you can add a dataset to a webform in the designer view in asp.net 2.0. I could be wrong. Please enlighten me. thanks.
 
As I pointed out in thread855-1154753, if you set up all of your database connections in code, nothing has really changed - any data binding you used to be able to do, you still can.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
However there is an exciting new class that can really simplify some things..

the "sqldatasource" object has lots of very cool features...

Check out this webcast from MS...

Advanced Databinding ASP2.0

You will need to have a passport account to view it, but it should save lots of hours of coding..

HTH

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top