Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics 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 May 6th, 2005, 06:53 AM
Authorized User
 
Join Date: Apr 2005
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is It Possible to write record to DB

Hey,
I was just wondering if it is possible to write data from an ASP page (coded using vb.net) to a MS Access database, if so how.
This is what I think;
Create the MS Access Database (inc. table and column names)
Probably use a button to call function/subroutine on the ASP page which
           -connects to database,
           -uses recordset or response.write to store values from the web control (labels, dropdownlists and radio buttons)
           -generate a unique number for record (done in MS Access)
           -close database connection

God it sounds so simple, but how would one approach it if possible, or if anyone has sample code they are willing to share.
Any help will be greatly appreciated as always.

D


 
Old May 6th, 2005, 07:16 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

1) Go here: http://samples.gotdotnet.com/quickstart/howto/
2) Scroll down to "Data and ADO.NET"

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I write out a record to an SQL db table? furjaw Visual Basic 2005 Basics 1 April 26th, 2006 05:16 PM
How to write files information to mysql db using p method PHP Databases 4 February 14th, 2006 09:18 PM
Write a script to select particular field from DB choudhmh Pro VB.NET 2002/2003 1 January 28th, 2005 08:37 AM
gettting last record from DB darkhalf Classic ASP Databases 4 December 31st, 2004 01:40 PM
Quickest way to write data to Access DB in VB.NET aslyon ADO.NET 4 September 22nd, 2004 08:00 AM





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