473,327 Members | 1,979 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,327 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 1124
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.