473,545 Members | 2,782 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adding Data To Data Base

I have a web form which collects user data. It is populated with options
stored in an access DB. I have successfully managed to bind my form
controls to the required sources.

My problem is now how do I update two other tables in the access DB with, 1.
data obtained from text boxes on the form and 2. their selections form
lists.

The reference book I am working from does not show an example of adding
records only updating records shown using a data grid!!!!!

I have the code below from a web search, but do not understand where to put
the following line of code:

Imports System.Data.Ole Db

I actually do not understand the code which use 'New oleDbCommand', I would
like to do it using a dataset which at least I have some minor understanding
of.

If anyone has any web references which show me how to achieve my aims please
post them
Nov 19 '05 #1
4 1123


Please see my comments below ...
Paul Smith wrote:
I have a web form which collects user data. It is populated with options
stored in an access DB. I have successfully managed to bind my form
controls to the required sources.

My problem is now how do I update two other tables in the access DB with, 1.
data obtained from text boxes on the form and 2. their selections form
lists.

The reference book I am working from does not show an example of adding
records only updating records shown using a data grid!!!!!

I have the code below from a web search, but do not understand where to put
the following line of code:

Imports System.Data.Ole Db
***
***
***
have you tried balancing it on your head?
***
***
***

I actually do not understand the code which use 'New oleDbCommand', I would
like to do it using a dataset which at least I have some minor understanding
of.

If anyone has any web references which show me how to achieve my aims please
post them


***
***
***
this might help:

http://www.rathergood.com/moon_song/
***
***
***

Nov 19 '05 #2
Thanks John,

At the risk of being accused of not being able to take a joke, what was the
point of your comments. maybe they would have been better appreciated at:

alt.smug_git.ti mewaster

I posted what was genuine problems, if it was too simle to be worthy of
decent consideration I apologise for not knowing this.

Paul Smith
"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .


Please see my comments below ...
Paul Smith wrote:
I have a web form which collects user data. It is populated with options
stored in an access DB. I have successfully managed to bind my form
controls to the required sources.

My problem is now how do I update two other tables in the access DB with,
1.
data obtained from text boxes on the form and 2. their selections form
lists.

The reference book I am working from does not show an example of adding
records only updating records shown using a data grid!!!!!

I have the code below from a web search, but do not understand where to
put
the following line of code:

Imports System.Data.Ole Db


***
***
***
have you tried balancing it on your head?
***
***
***

I actually do not understand the code which use 'New oleDbCommand', I
would
like to do it using a dataset which at least I have some minor
understanding
of.

If anyone has any web references which show me how to achieve my aims
please
post them


***
***
***
this might help:

http://www.rathergood.com/moon_song/
***
***
***

Nov 19 '05 #3
I bet that your real name is Dick.

Bob Lehmann

"John Rivers" <fi*****@btinte rnet.com> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .


Please see my comments below ...
Paul Smith wrote:
I have a web form which collects user data. It is populated with options stored in an access DB. I have successfully managed to bind my form
controls to the required sources.

My problem is now how do I update two other tables in the access DB with, 1. data obtained from text boxes on the form and 2. their selections form
lists.

The reference book I am working from does not show an example of adding
records only updating records shown using a data grid!!!!!

I have the code below from a web search, but do not understand where to put the following line of code:

Imports System.Data.Ole Db


***
***
***
have you tried balancing it on your head?
***
***
***

I actually do not understand the code which use 'New oleDbCommand', I would like to do it using a dataset which at least I have some minor understanding of.

If anyone has any web references which show me how to achieve my aims please post them


***
***
***
this might help:

http://www.rathergood.com/moon_song/
***
***
***

Nov 19 '05 #4
It was only meant to playfully mocking,
i'm sorry if it came across as nasty,
did you enjoy the moonsong?

The real reason for my mockery - an attempt
to teach you that this job can be hell
if don't do your reading. Before you try
and write VB why not read about it first?

It will be much more enjoyable experience for you.

Furthermore you can answer the question yourself
just by typing "Imports" and hitting F1 and
reading what it says.

Its actually quicker and easier than using a newsgroup too.

Enjoy your coding :-|

Nov 19 '05 #5

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

Similar topics

0
1602
by: arachno | last post by:
Hello ppl, Is anyone can help me to figure out how to add data to TextML server document base? I have attached snipped, which taking XML source from file and adding it to documentbase, but my problem is, that i need to add it on "fly", without touching file system. Cheers, arachno
5
4732
by: Nicolas Mejia | last post by:
Hello: I´m not a professional programer in Access. I´m working in a proyect that will permit me add my flight time, but I have been having problems with the time adding. Please can some one gve me a clue to how i can add time that exceeds 24 hours (Eg. 500:47) Thans a lot
0
1569
by: Shravan | last post by:
Hi, I have a extended datagrid, in which I am setting values at a given cell in the grid using grid = val; The grid has NewRow creation set to false But sometimes setting value at a existing row is adding newrow in the grid, which is staying temporarily and when
3
4858
by: Jim Heavey | last post by:
Trying to figure out the technique which should be used to add rows to a datagrid. I am thinking that I would want an "Add" button on the footer, but I am not quite sure how to do that. Is that the best method? Do you have a sample of how to do this?
3
1940
by: Robin Thomas | last post by:
I am fairly new to ASP.NET so I think I am missing something fundamental. Anyway, quite often I am pulling data from a database, but then I need to use that data to produce more data. A simple example would be: Let's say Column1=StartDate and Column2=EndDate. In addition to displaying Column1 and Column2, I need to do some calculations and...
2
8335
by: inpuarg | last post by:
Is it possible that - or is there any workarround for adding a new unbound row to a datagridview at bound mode ? Theese are not working. And i don 't want to add a row to dataset then rebind - cause i want to add this row to a specific location. and it does not match to sort order. Regards. and thanks. ...
3
2182
by: Ben Dewey | last post by:
Okay, so I have a base Page class called ArticlesPageBase. This base class has reads in an overridable ArticleId and Loads the data into a Panel object in the ContentPlaceHolder of the Master. The article that it loads from the Database is a xml field that contains html code for the article. I added some custom html to the database article...
12
1589
by: Bob Jones | last post by:
I have an odd business requirement and I think that the implementation is not correct in the terms of OOP development. Any help on the concepts would be very appreciated! We currently have a custom Page object which is derived from the base Page object. We also have custom controls that derive from a base class that performs custom drawing...
0
2345
by: =?Utf-8?B?QW5keSBZdQ==?= | last post by:
Hi, I'm trying to return exceptions from a WCF Service using FaultExceptions. I got the service compiled and running. But I get an error while adding a service reference to it. The error reads: " Attempting to download metadata from 'http://localhost:4619/WCFService1/Service.svc' using WS-Metadata Exchange or DISCO. Error: Cannot import...
0
1059
by: dlbriggs1729 | last post by:
I am wrinting a data service to access and update a datset. I am having problem when I try to add a SqlConnection to a web service. Using C# in VS 2005 I started a new web service project. Then I made a new Sql server data base and added one table I also added some data. So far so good. The data base shows up in the Server Explorer (with a...
0
7499
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7432
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7689
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7943
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6022
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1919
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 we have to send another system
1
1044
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
743
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.