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 June 1st, 2004, 03:46 AM
Registered User
 
Join Date: Mar 2004
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!
 
Old June 1st, 2004, 08:59 AM
Friend of Wrox
 
Join Date: Jun 2003
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.





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





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