By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,369 Members | 966 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,369 IT Pros & Developers. It's quick & easy.

Help!!

P: 6
Hi..

Im trying to connect a visual studios application to sql server 05 express edition.

the name of my database is personal_organiser. I have searched the web for many hours but am just getting more confused. Can some one tell me the correct code and where to put it in my application, is it to go under a public class?? please help! a head wrecked student! :(
Jan 3 '08 #1
Share this Question
Share on Google+
3 Replies


lotus18
100+
P: 866
Hi..

Im trying to connect a visual studios application to sql server 05 express edition.

the name of my database is personal_organiser. I have searched the web for many hours but am just getting more confused. Can some one tell me the correct code and where to put it in my application, is it to go under a public class?? please help! a head wrecked student! :(
Can you show us what have you done so far as for reference for our experts here.

Rey Sean
Jan 3 '08 #2

P: 6
Can you show us what have you done so far as for reference for our experts here.

Rey Sean


have deleted most of what i tried to do as was all wrong.. have this at the moment but its not correct either.. really just dont know where to start..please help!!

Imports System.Data.SqlClient



Public Class frmSelection

Dim myConnection As SqlConnection = New _

SqlConnection("server=(local);database=personal_or ganiser;")
Jan 3 '08 #3

Expert 5K+
P: 8,434
I'm closing this thread as well, since the question has been re-posted in another thread.

Please don't start a new discussion thread for each reply. It makes things very hard to follow, for all concerned.
Jan 4 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.