Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 8th, 2006, 03:13 PM
Authorized User
 
Join Date: Mar 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Writing to an msAccess db from txtBox Data

Can any one help me?I'm just new to programming so this may sound quite trivial but it has me stumped!
I have designed a form which has alot of textBoxes to gather user's personal details. These details have to be then writen to a database in msAccess.
I have worked out this code which loads the textboxes with the database entries but I dont need this!

 oleDABookinsAll.Fill(DsAllFields1)

'This is in a button procedure to click through the data rows
 BindingContext(DsAllFields1, "Bookings").Position = BindingContext(DsAllFields1, "Bookings").Position + 1

What I want to do is keep the bindings but not show the data...just copy the input data from the textboxes to the database.

Can anyone fill me in on how to do this?
Please keep it simple though because I am just new to all this!(3months)xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxx







Similar Threads
Thread Thread Starter Forum Replies Last Post
problem writing listview data to mysql db method Pro VB 6 2 April 10th, 2007 07:17 PM
problem writing listview data to mysql db method Pro VB Databases 0 May 17th, 2006 06:18 AM
Secure MSAccess db ASP Data Page Integration Will Woodward Classic ASP Databases 1 October 26th, 2005 08:32 AM
disadvantages of MSAccess as backend db umair_rathore Classic ASP Basics 5 February 14th, 2005 01:19 AM
read-only probs in msaccess db using asp form anupamda Classic ASP Databases 1 February 10th, 2004 12:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.