[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

C#.net Desktop Application

Is there any way that we can store our data to server using Desktop application in C#
0
savsoft
Asked:
savsoft
1 Solution
 
dj_alikCommented:
Designing a Winform in C# and Linking It to a SQL Server Database
http://www.codeguru.com/csharp/csharp/cs_network/database/article.php/c6017
0
 
savsoftAuthor Commented:
But My sql Server is on web.... i want to store data on web so cani connect desktop application to web data
0
 
TemizhCommented:
Remote Sql Connection is what you need. At your connectionstring you should give the Data Source your sql-server's machine ip. Do not forget to assign the default port and to enable TCP/IP Remote Connections. This may help you:

http://www.connectionstrings.com/sql-server-2008

e.g:

Data Source =190.190.200.100,1433; Network Library =DBMSSOCN; Initial Catalog =myDataBase; User ID =myUsername; Password =myPassword;
0
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!

 
savsoftAuthor Commented:
Please help me out with any connection string and also tell me how to enable TCP/IP connection and assign default port
0
 
jdruperCommented:
There are various ways to make a connection string depending on the security, the type of server, etc.
Here's a page where you can find a bunch of them http://www.connectionstrings.com/mysql#p28
To enable TCP/IP depends a lot on your server's OS but here is a basic guide. http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html
0
 
Dave BaldwinFixer of ProblemsCommented:
Where "on the web" is your SQL Server?  Is it at a hosting company?  If it is, do they allow outside access to it?  Many hosting companies do not.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now