C#.net Desktop Application

Is there any way that we can store our data to server using Desktop application in C#
savsoftAsked:
Who is Participating?
 
jdruperConnect With a Mentor Commented:
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
 
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
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
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
 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.