C#.net Desktop Application

Is there any way that we can store our data to server using Desktop application in C#
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
Designing a Winform in C# and Linking It to a SQL Server Database
savsoftAuthor Commented:
But My sql Server is on web.... i want to store data on web so cani connect desktop application to web data
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.

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:



Data Source =,1433; Network Library =DBMSSOCN; Initial Catalog =myDataBase; User ID =myUsername; Password =myPassword;
savsoftAuthor Commented:
Please help me out with any connection string and also tell me how to enable TCP/IP connection and assign default port
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.
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.