Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 1st, 2004, 03:46 AM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Saving datatables into database

i'm using vb.net and ado.net to handle the following problem.

What i want to do is to add the text of 3 textboxes into a datatable whereby it will increase everytime i add in a new record. But it must be disconnected from the database. and from there after all records the user want to type in is done there will be a button for user to insert all the records into the database. but i didnt know how to do it. all i know is i need to use datatable, dataset, dataadapter. hope there will be someone to help me out. if possible pls paste some codes for my stupid brain to understand. Thanks a lot!
Reply With Quote
  #2 (permalink)  
Old June 1st, 2004, 08:59 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

Dear friend: u know ur solution!
AS U SAID!
U will add soem textbox & a button to ur form.
Create a click event for ur button.
add a row to ur table in DataSet
call Adapter update method.

Is there any problem?!
HTH > http://samples.gotdotnet.com/quickst...atafromdb.aspx

Always:),
Hovik Melkomian.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving data in database from textbox jainin_shah9 C# 2005 1 February 21st, 2008 08:34 AM
Stored Procedure not saving to database rdove84 SQL Server 2000 1 January 22nd, 2008 12:32 AM
Saving DropDownList selection to a database steve35719 ASP.NET 2.0 Basics 17 June 7th, 2007 04:54 PM
Dataset merging and saving to database Talarin3 ADO.NET 8 April 19th, 2006 11:30 AM
Saving Word file into Database melvik C# 0 March 8th, 2004 07:36 AM



All times are GMT -4. The time now is 08:06 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.