Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » .NET Programming » Visual Basic .NET/2005/2008 » Help with VB.Net 2008 and MS Access


Help with VB.Net 2008 and MS AccessExpand / Collapse
Author
Message
Posted 9/22/2008 4:00:48 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/8/2008 11:38:07 PM
Posts: 8, Visits: 55
Hello all,

I am going to try to describe this as best as possible and to the point......

I designed a project with many textboxs and some dropdowns. I created a MS Access database and added existing item to the project.  I used the tabcontrol tool and have several tabs.  I need help with 2 questions....

1.  How to create a "save all" button to save the informaiton to the database?

2. Do I have to code each textbox (itself) to link each box with the field it belongs to? If so, can I get some help?

Daveofgv

Post #25758
Posted 9/22/2008 4:18:01 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/8/2008 11:38:07 PM
Posts: 8, Visits: 55
I just learned to click on a textbox - expand databinding in the properties window - click drop down arrow for text - navigate to the database and clicked the field that pertains to the specific textbox.

Does this connect that text box with the field in the database?

Daveofgv

Post #25759
Posted 10/9/2008 3:26:02 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: Today @ 1:27:46 PM
Posts: 29, Visits: 17
setting that one field I believe is only a small part of the solution. if you want to use databinding for this.

it sounds like you are just adding single rows based on what is in the text boxes?
if so I wouldn't use databinding at all.

i've not used 2008 so I don't know how adding an access database to the solution works. I would use either a tableadapter or a dataset for doing this.

Vb.net 2005, Teradata, Sql Server 2005, mainframe automation
Post #25953
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Brian, Peter

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 1:49pm