Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello sir, i am trying to connect MySql database of my web server through my c# desktop application so that i can access tables for selecting,updating and for other queries.....

I am in need of it...(urgent)..., so hope u will reply me soon..........
Posted
Comments
walterhevedeich 25-Jul-11 5:50am    
Show us what you tried, in code.
Mycroft Holmes 25-Jul-11 6:59am    
Don't be silly - he's asking you for the code!
walterhevedeich 25-Jul-11 21:22pm    
Oh no. I tried google and it doesn't give me codes. Hope his urgentz task makes it to the deadline.

You need to make a connection to the database using a connection string and probably OLEDB. Try connectionstrings.com, it is an excellent resource for this information.
 
Share this answer
 
 
Share this answer
 
Comments
Uday P.Singh 25-Jul-11 8:30am    
nice link my 5!
 
Share this answer
 
Comments
walterhevedeich 25-Jul-11 21:20pm    
Good links.
Mohammad A Rahman 25-Jul-11 21:29pm    
Thank you Walter :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900