Solved

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

Posted on 2009-04-08
3
160 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
  • 2
3 Comments
 
LVL 11

Expert Comment

by:srikanthreddyn143
Comment Utility
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
Comment Utility
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 500 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now