.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 20th, 2005, 10:48 AM
Harlequeen Harlequeen is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 12 Harlequeen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 36 m
Reputation Power: 0
binding fields to textboxes

Can someone please help me with binding fields to text boxes.

I have a form2 where some information has been passed from form1 and then the user needs to input some information on form 2, and it all has to be sent to the database. How do I bind the information from the textboxes to the fields in the database. ? I don't seem to be making head nor tail of this.

Cheers
Harlequeen

Reply With Quote
  #2  
Old April 24th, 2005, 09:42 AM
CyberPuppy CyberPuppy is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 1 CyberPuppy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 39 sec
Reputation Power: 0
Lightbulb

Quote:
Originally Posted by Harlequeen
Can someone please help me with binding fields to text boxes.

I have a form2 where some information has been passed from form1 and then the user needs to input some information on form 2, and it all has to be sent to the database. How do I bind the information from the textboxes to the fields in the database. ? I don't seem to be making head nor tail of this.

Cheers
Harlequeen


I assume you have added a DataAdapter(I prefer using the OLEDBDataAdapter class). If you have, then the only thing left to do, is to click on the "Databinding" property of each textbox, and you shoukd be able to assign the fields in your DB to the textboxes, or whatever else you widh to use.

Reply With Quote
  #3  
Old April 25th, 2005, 02:06 AM
Harlequeen Harlequeen is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 12 Harlequeen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 36 m
Reputation Power: 0
I did use a dataAdapter and didn't realise that I would have to set each one.

Thanks for your help

Harlequeen

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > binding fields to textboxes


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway