Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > add data to various Table


Reply
 
Thread Tools Display Modes
  #1  
Old 11-22-2006, 02:01 PM
bat2ray bat2ray is offline
Newcomer
 
Join Date: Nov 2006
Posts: 3
Default add data to various Table


hello,
currently i'm develop a inventory system using VB 6 for my last semester project.the problem is i do not know how to insert a data to various Table using ADO.

here the example to clarify this.

interface text box=txt1,txt2,txt3,txt4
database table= table1, table2

i need the data from the txt1 and txt2 goes to table1 and txt3 and txt4 goes to table4.

do anyone know how?thanks a lot.
Reply With Quote
  #2  
Old 11-22-2006, 02:14 PM
gb711825's Avatar
gb711825 gb711825 is offline
Contributor
 
Join Date: Apr 2004
Location: Ireland
Posts: 563
Default

Hi there and welcome.

Rather than just spew out the code you need, I'm gonna point you towards the ADO Tutorials that are out there. You'll learn so much more than if we just give you the code you need.

Once you get the basics, you'll soon be able to create the code for this without too much difficulty. then if you are still having issues, post your code and you'll get all the assistance you need with it.

ADO Tutorial

AND

Google Results for ADO Tutorial

ADO is pretty straight forward so have no fear. Best of luck,

GB
__________________
Yeah Boyieeeeeeeeeee!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->