Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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 ?

The one and only

Dr. Madz

eee-m@il

  • *Experts*
Posted

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

"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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...