Madz Posted February 6, 2003 Posted February 6, 2003 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 ? Quote The one and only Dr. Madz eee-m@il
*Experts* Nerseus Posted February 6, 2003 *Experts* Posted February 6, 2003 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 Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.