Solved

C#.net Desktop Application

Posted on 2011-09-17
6
215 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
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!

 

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 500 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 83

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

690 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