Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

C#.net Desktop Application

Posted on 2011-09-17
6
Medium Priority
?
217 Views
Last Modified: 2012-06-27
Is there any way that we can store our data to server using Desktop application in C#
0
Comment
Question by:savsoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 18

Expert Comment

by:dj_alik
ID: 36554618
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
 

Author Comment

by:savsoft
ID: 36555728
But My sql Server is on web.... i want to store data on web so cani connect desktop application to web data
0
 
LVL 1

Expert Comment

by:Temizh
ID: 36555946
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:savsoft
ID: 36558287
Please help me out with any connection string and also tell me how to enable TCP/IP connection and assign default port
0
 
LVL 1

Accepted Solution

by:
jdruper earned 2000 total points
ID: 36560797
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
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 36911763
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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

618 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