473,508 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

winapp: configure connectionstring of a project with added datasources?

nev
251 Contributor
i created a program with datasources which i added using the datasources wizard.

my problem is the connectionstring server = localhost

the program will be installed in 4 computers and the mysql database will be configured in one of those pc.

what must i do to correct the connection string in my program. when i tried searching the word 'localhost' in my current project, i was able to find it in 3 locations namely: in the app.config, in settings.settings, and in settings.designer.vb

will it be ok if i change all the server=localhost i find into server=[ip address of the main pc] ?
Jan 8 '08 #1
0 940

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

Similar topics

5
1722
by: Kent Johnson | last post by:
Hi all, I have accidentally deleted my web.config file so I'll have to recreate it. I have tried this in my Web.config file: <configuration> <appSettings> <add key="ConnectionString"...
0
1557
by: Greg | last post by:
Anyone having issues with their object datasources appearing and vanishing from the datasource browser? I create an object for binding as a datasource in my App_Code folder, compile my web...
1
1249
by: John | last post by:
What is the difference between using a Word/Excel Project via Office Tools in Visual Studio versus using a standard WinApp Project and setting a reference to Word or Excel? Specifically are...
1
1420
by: ginkim | last post by:
Is there a way to grab the connectionstring value from the web.config in another project? I created a DataAccess layer to store my typed dataset and it automatically created settings.settings and...
5
6500
by: Radu | last post by:
Hi. In a repeater I have as ItemTemplate the following, among others, and everything works great: <asp:SqlDataSource ID="LocationSqlDataSource" SelectCommand="SELECT blah-blah-blah"...
10
3736
by: AG | last post by:
I am trying to use a ReportViewer control in a VS 2005 web application project (not Website project). When I try to create a new report (local), I can't seem to find any method to create a...
0
1463
nev
by: nev | last post by:
I know when is best to use some templates but listed below are most that I don't know when is best to use or even know how to use: I am creating a windows application with mysql backend. 1....
5
9539
nev
by: nev | last post by:
i used the datasources wizard to add table "lamesa" to my dataset. if i view the xsd file, "lamesa" has a tableadapter named "lamesatableadapter". but when i do...
0
943
by: chea kimcheng | last post by:
I have seen the solution about the reportviewer VB.Net 2005 but I have some question to ask you. Private Sub btnClientTest_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
0
7129
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
7333
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
7398
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...
1
7061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7502
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...
1
5057
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...
0
4716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1566
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.