DATA Bound Properties of TEXTBOX

Madz

Centurion
Joined
Jan 22, 2003
Messages
155
Dear I want to make a form from which i can get information about some reocrdset in database. in VB six we were able to bound TEXTBOX , LABLE and other controls to data with their DATASOURCE and DATAFIELD properties but here in VB.NET these properties are not supported .
IS there any way to see a record in some textbox or lable control ?
 
Check out the DataBindings property of all controls. You can bind to any property you want, not just Text. You could bind one record to a textbox to change it's background color (if you so desired).

If you want paging (moving forward/backwards through a DataSet's rows), look at the Form's BindingContext collection.

-nerseus
 
Back
Top