473,466 Members | 1,417 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Manipulating Access Database

What's the best way to manipulate a Microsoft Access Database from VB .Net?

I have gotten as far as making and configuring a OleDbAdapter, connection,
and Dataset, which is bound to a data grid. I'm able to see the data in the
table on the data grid when my VB program is running, and I can type new
data in, but I don't know how to actually update the database file (*.mdb
file).

So what's the best way to do this. I don't want to do alot of
programmatical SQL stuff.

It seems like there's gotta be some setting on the properties window
somewhere for one or more of these objects, to allow me to change the data
in the database.
Nov 21 '05 #1
2 1569
"Daniel Kaseman" <da*@cfaith.com> schrieb
What's the best way to manipulate a Microsoft Access Database from VB
.Net?

I have gotten as far as making and configuring a OleDbAdapter,
connection, and Dataset, which is bound to a data grid. I'm able to
see the data in the table on the data grid when my VB program is
running, and I can type new data in, but I don't know how to actually
update the database file (*.mdb file).

So what's the best way to do this. I don't want to do alot of
programmatical SQL stuff.

It seems like there's gotta be some setting on the properties
window somewhere for one or more of these objects, to allow me to
change the data in the database.


Call the Dataadapter's Update method to update the database by the values in
the Dataset shown and edited in the Datagrid:
http://msdn.microsoft.com/library/en...terdataset.asp
There's also a group for ADO.Net specific questions:
microsoft.public.dotnet.framework.adonet

Armin

Nov 21 '05 #2
thank you!

"Armin Zingler" <az*******@freenet.de> wrote in message
news:O4**************@TK2MSFTNGP09.phx.gbl...
"Daniel Kaseman" <da*@cfaith.com> schrieb
What's the best way to manipulate a Microsoft Access Database from VB
.Net?

I have gotten as far as making and configuring a OleDbAdapter,
connection, and Dataset, which is bound to a data grid. I'm able to
see the data in the table on the data grid when my VB program is
running, and I can type new data in, but I don't know how to actually
update the database file (*.mdb file).

So what's the best way to do this. I don't want to do alot of
programmatical SQL stuff.

It seems like there's gotta be some setting on the properties
window somewhere for one or more of these objects, to allow me to
change the data in the database.
Call the Dataadapter's Update method to update the database by the values

in the Dataset shown and edited in the Datagrid:
http://msdn.microsoft.com/library/en...terdataset.asp

There's also a group for ADO.Net specific questions:
microsoft.public.dotnet.framework.adonet

Armin

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Michael J. Astrauskas | last post by:
Does anyone have a function for manipulating GET variables in a URL? I want to be able to modify some parameters without affecting others. An example of what I'm looking for: Let's say the...
2
by: Shane Suebsahakarn | last post by:
Hi all, Does anyone have any idea why creating a table link across a network should be so slow? My front end app follows these steps when opening: * Retrieve all linked tables in the current...
1
by: Barb Alderton | last post by:
I am working with SharePoint 2003. I am using an existing webpart as a child control (server control). I need to access/manipulate the HTML that the control outputs prior to rendering it to the...
1
by: Jean Christophe Avard | last post by:
Hi! I am designing an application, and I need some pointers. I have a database that has 5 tables: a table "Items" and 4 other table that has relationship to "Item". I have to retreive all the...
3
by: Screaming Eagles 101 | last post by:
Hi, I have an Access MDB database with a Table1. From VBNET I would like to CREATE a NEW table, which is a copy of Table1, but not with the Data, only the definition. I would also like to have...
7
by: fcolon75 | last post by:
I'm an experienced Access user, but very new to coding VBA in Access. I'd like to do the following: 1) Develop a basic query in the query designer. 2) Call that query from a VBA script 3)...
9
by: xiaowei | last post by:
Hi all, I am really new to the use of Access, or rather, the work dealing with codes and applications. Now I am working with this huge Access 2003 database. How can I possibly create some...
0
by: Tzesho | last post by:
A director of my company insists on using an Excel database to store his data. I have been tasked to come up with a new GUI in .NET C# that accesses and manipulates the data in his Excel database. ...
17
beacon
by: beacon | last post by:
Hi everybody, I'm working with data to determine if records were completed in a given timeframe. I'm trying to figure out how I can assess records with the same ID, but have different data in...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.