?
Solved

How do I change the datasource for my Visual Basic 2008 project?

Posted on 2009-04-08
3
Medium Priority
?
167 Views
Last Modified: 2012-05-06
I have a Visual Basic 2008 project that I've created using my local SQL database as the datasource.  I need to distribute this project to another department using the network SQL server's database as the datasource.  I need to know how/where I need to change config to get the project to point to this new location.    
0
Comment
Question by:MCSF
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Expert Comment

by:srikanthreddyn143
ID: 24102070
In the connection string, where you wrote change the DataSource name

"Data Source=SQLServerName;database=DBName;User Id=User Id;password =pwd;"
0
 

Author Comment

by:MCSF
ID: 24110816
Okay, after I've done this now it says it can't find the table.  I created this project click and drag style.  Are there other things to consider with regards to data paths  in my bindingsource, tableadapter, dataset etc?
0
 
LVL 11

Accepted Solution

by:
srikanthreddyn143 earned 2000 total points
ID: 24111022
If it says it can't find the table, then you need to have a table of the name what you are using in you dataset/binding source in the network SQL Server.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question