Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
A1VBCode Forums
Home
Search
Members
Calendar
Who's On
Welcome Guest
(
Login
|
Register
)
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
»
Classic Visual Basic (VB 6 or earlier)
»
Database Programming
»
Problem Inserting values into Sql server
Problem Inserting values into Sql server
Rate Topic
Display Mode
Topic Options
Author
Message
itsmystuff6
itsmystuff6
Posted 8/24/2010 4:16:19 AM
Forum Newbie
Group: Forum Members
Last Login: 8/24/2010 4:20:40 AM
Posts: 1, Visits: 2
Hi I am new to Vb6 programing.
I have two text boxes on the form. textX and TextY.the user will enter integer values in the text boxes.
I want to connect to sql server database "Temphome" and then insert values in table "coordinates".There are two int fields in the table X ,Y.
How can I do that.I can find the connection code on the internet but having problem finding a simple code which only connects
and insert these values.
thanks
ALI
ItsmyStuff
Post #29538
vb5prgrmr
vb5prgrmr
Posted 8/25/2010 4:07:24 AM
Forum Guru
Group: Forum Members
Last Login: 9/4/2010 3:34:47 PM
Posts: 167, Visits: 786
Okay, for DNS Less connection string that you can use with ADO see
http://www.connectionstrings.com
. Also, you may want to use your friends (yahoo, google, ask, answers, bing) to search for vb6 ado tutorial and if you find anything about the ADODC (Activex Data Object Data Control) skip it and only read about the ADODB (Activex Data Object DataBase). Then you might want to use your friends to search for Insert SQL Tutorial...
Good Luck
Post #29541
« Prev Topic
|
Next Topic »
Reading This Topic
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators:
Admin
,
Mod
,
Mark
,
Keithuk
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
may
send private messages.
You
cannot
send email's.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Forum Jump...
----------------
Forum Home
Search
Members List
Calendar
Who's Online
----------------
Announcements
|-- Announcements
.NET Programming (VB 2010 or earlier)
|-- Visual Basic .NET
|-- ASP.NET
|-- C#
Classic Visual Basic (VB 6 or earlier)
|-- General Visual Basic
|-- Database Programming
|-- COM/ActiveX
|-- API
|-- Internet/Communications Programming
|-- VBA(Excel, Word, etc...)
|-- Game Programming
General Discussion
|-- Forum Feedback
|-- Member Chat
|-- Introductions
All times are GMT -5:00, Time now is 2:04am