473,399 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Connect to SQL Server 05 Express Edition from Visual Basic

Hi.

I am trying to connect to SQL Server 05 Express Edition from Visual Basic.

In VB I went to data... add new data source... database. Then I selected "personal_organiserConnectionString(MySettings )" Personal_organiser is the name of my database, and is the only choice I'm given here. I presume I don't make a new connection as this is what I want to connect to. I then selected the database objects which I wanted in my dataset. It worked as "personal_organiserDataset1.xsd" is now showing in the solution explorer. However I know I must put code somewhere?

Expand|Select|Wrap|Line Numbers
  1. Imports System.Data.SqlClient
  2.  
  3.  
  4. Public Class frmSelection
  5. Data Source=.\SQLEXPRESS;cny200;Initial Catalog=personal_organiser;Integrated Security=True
  6.  
This is all I have. It is not correct. Can somebody please help me? I've wasted a whole day and got nowhere. :-(

Thanks
Jan 3 '08 #1
1 1127
Dököll
2,364 Expert 2GB
Hi.

I am trying to connect to SQL Server 05 Express Edition from Visual Basic.

In VB I went to data... add new data source... database. Then I selected "personal_organiserConnectionString(MySettings )" Personal_organiser is the name of my database, and is the only choice I'm given here. I presume I don't make a new connection as this is what I want to connect to. I then selected the database objects which I wanted in my dataset. It worked as "personal_organiserDataset1.xsd" is now showing in the solution explorer. However I know I must put code somewhere?

Expand|Select|Wrap|Line Numbers
  1. Imports System.Data.SqlClient
  2.  
  3.  
  4. Public Class frmSelection
  5. Data Source=.\SQLEXPRESS;cny200;Initial Catalog=personal_organiser;Integrated Security=True
  6.  
This is all I have. It is not correct. Can somebody please help me? I've wasted a whole day and got nowhere. :-(

Thanks
Hello, isabella o nell!

Please stay tuned, I am actually working on a project that involves Web Dev 2005 Express and SQL EXPRESS 2005, perhaps we can compare notes...

For the time being, I will add your post to the .NET area for added support.
You know how to find me...

In a bit!

Dököll
Jan 4 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Linda Lee | last post by:
I purchased Visual Basic .NET version 2003 Standard I first try to connect Visual Basic .NET 2003 Standard to SQL Server 2000 Personal edition. When I go into Visual Basic .NET under Server...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
1
by: Darryl Kerkeslager | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsse/html/sseoverview.asp SQL Server Express was developed with two distinct uses in mind. The first is as a server product,...
3
by: msnews.microsoft.com | last post by:
Hello Can any one tell me that if I buy Microsoft Visual Studio 2005 Professional for dotnet, do I get following product Visual Basic Express Visual C# Express Sql Server Express Web...
14
by: Developer | last post by:
Hello All, i have recently installed VS2005 and was trying to install SQL sever 2000. I have Win XP' SP2. But when I tried installing, it only installed client tools and not the database. Can...
3
by: iansinke | last post by:
Hi, I have Visual C# 2005 Express Edition and SQL Server 2005 Express Edition. I downloaded and installed the Advanced Services for SQL Server 05, and the Toolkit for SQL Server 05. I installed...
13
by: josh | last post by:
I'm pretty new to both sql 2005 and VB but please bear with me. I have installed SQL 2005 express on a Windows 2003 Standard server. I have also installed VB 2005 Express edition on the server. SQL...
2
by: kress1963nov22 | last post by:
I recently purchased a good MS book ("Build a Web Site Now") by Jim Buyens. It has the Express Edition of MS-Visual Web Developer 2005 on CD and also MS SQL Server 2005 Express Edition on the CD. A...
9
by: Gabriel | last post by:
Hello, I installed SQL server 2005 SP1 on a Windows XP SP2 From Visual Studio, I'm trygin to create a connection to a database, but I receive this error but I'm creating the connection (I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.