473,395 Members | 1,647 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,395 software developers and data experts.

Help connecting to northwind database

I am try this example on vb express 2005:
http://msdn2.microsoft.com/en-US/lib...boxcolumn.aspx
but it keeps giving me an error about the data source to northwind database. I installed the SQL2000SampleDb.msi file, then ran this command at the prompt:
SQLCMD -E -S computerName\SqlExpress -i instnwnd.sql
with my computer name. Can anyone help a noob out here. Many thanks

*** Posted via a free Usenet account from http://www.teranews.com ***
May 28 '06 #1
1 2163
Hi,

The connection string was not pointed to the sqlexpress. Try this
instead.

Private connectionString As String = _
"Integrated Security=SSPI;Persist Security Info=False;" _
& "Initial Catalog=Northwind;Data Source=.\sqlexpress"

Ken
--------------
"machine-man" wrote:
I am try this example on vb express 2005:
http://msdn2.microsoft.com/en-US/lib...boxcolumn.aspx
but it keeps giving me an error about the data source to northwind database. I installed the SQL2000SampleDb.msi file, then ran this command at the prompt:
SQLCMD -E -S computerName\SqlExpress -i instnwnd.sql
with my computer name. Can anyone help a noob out here. Many thanks

*** Posted via a free Usenet account from http://www.teranews.com ***

May 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: RibGnaw | last post by:
Long, long ago when Access 97 first hit the streets a sample database called Northwind was shipped with it. At that time a number of articles had been posted on the correct procedure to remove all...
8
by: Steph | last post by:
Hi. I'm very new to MS Access and have been presented with an Access database of contacts by my employer. I am trying to redesign the main form of the database so that a button entitled...
8
by: xtra | last post by:
Hi Folk I looked at the Northwind Sample Database for the first time recently and I was just wondering why they made it so ugly. If northwind is supposed to be inspiring to young and hopeful...
4
by: e-mid | last post by:
i created a database, when i query a simple select statement , i get an error: "Cannot open database requested in login 'XYZ_Database'. Login fails, Login failed for user 'sa'' But when i...
2
by: Kingkel | last post by:
hi every1 :lol: , i am new to .net and c# but i am making a good progress. i am working on database connectivity but i cant connect to my sql server(northwind). Pls tell me what am doing wrong...
5
by: trint | last post by:
Ok, Everything connects correctly and loads properly in this WebApplication. I have four buttons and all work correctly except one (the NEXT RECORD button). PREVIOUS, FIRST and LAST all work...
4
by: Nikki | last post by:
Hi, I am developing a small web application which connects to MS SQL Server 2000 (Developer Edition). But there is some problem in connection string, becaz of which it is giving Error and not...
2
by: dennist685 | last post by:
Can't open Northwind I remembered doing walkthrough using Northwind. However it wasn't an http project but a file project using the development server. Northwind allowed me to add, edit and...
3
by: asafok | last post by:
hi , for some reason every time i try connecting to my northwind sql server from VS2005 i get an Error massage. first it was the remote connection that didn't allow me to connect and after that 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.