-
connection from microsoft sql to visual basic 2005
Hi to all! i'm a newbie here, i've created a GUI in Visual Basic 2005 and i used MS SQL's query analyzer to create a database, is there any way for me to connect the GUI to my SQL database but my saved file is .sql? hmm,
-
Yes, you can connect your GUI to your SQL database. I don't understand what you mean, however, by "my saved file is .sql." Can you be more specific about what you want to accomplish?
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
.sql is typically what the file extension is when a query from Query Analyser is saved as a text file. Is that what you are referring to badrat?
-
Also, are you familiar with the SQLConnection Class in VB.NET?
-
yah, it is what i'm exactly asking, so .sql is the text file or the query that i did in the query analyser, so means to say that where can you find the database? to link from the GUI? i'm using Visual Basic 2005.
-
 Originally Posted by Hack
Also, are you familiar with the SQLConnection Class in VB.NET?
i'm not too sure with using sqlconnection class in VB.NET
-
 Originally Posted by badrat
yah, it is what i'm exactly asking, so .sql is the text file or the query that i did in the query analyser, so means to say that where can you find the database? to link from the GUI? i'm using Visual Basic 2005.
Typically an SQL Server database is stored on a network file server or web server.
In order to access it your code has to programmatically connect to it. That is where the SQLConnection class comes in handy.
-
 Originally Posted by badrat
i'm not too sure with using sqlconnection class in VB.NET
Are you saying you do know what it is but you just don't know how to use it?
-
 Originally Posted by Hack
Are you saying you do know what it is but you just don't know how to use it?
yup, i'm so lost right now, i had my tables in my visual project but i don't know how to link the data over at my table or specifically in putting what codes at the tables source codes.
Similar Threads
-
By rperez in forum Database
Replies: 5
Last Post: 01-02-2009, 05:14 PM
-
By luca90 in forum Database
Replies: 3
Last Post: 01-12-2007, 04:25 AM
-
By Eric Pearson in forum vb.announcements
Replies: 0
Last Post: 10-17-2001, 09:45 AM
-
By Sok Y. Kim in forum VB Classic
Replies: 4
Last Post: 10-30-2000, 12:54 AM
-
By Weilu Shi in forum VB Classic
Replies: 0
Last Post: 07-12-2000, 10:20 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|