Connection to sql database in c#

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2006
Posts: 5
Reputation: Village Idiot is an unknown quantity at this point 
Solved Threads: 0
Village Idiot Village Idiot is offline Offline
Newbie Poster

Connection to sql database in c#

 
0
  #1
Dec 16th, 2006
I am fairly new to asp.net, I am trying to connect to a sql (mysql prefferably) database, it must be using C#. I have been searching all of yesterday and today, I cant figure out how. Could someone help me here (if this has been asked, please point me to a topic)
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 84
Reputation: web_developer is an unknown quantity at this point 
Solved Threads: 1
web_developer web_developer is offline Offline
Junior Poster in Training

Re: Connection to sql database in c#

 
0
  #2
Dec 17th, 2006
dude u need to create OdbcConnection.

using this object u can connect to any type of db such as (mssql, oracle, mysql, excel...)

dude i amnot sure abt the stability in using mysql with .net.

sam
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 5
Reputation: Village Idiot is an unknown quantity at this point 
Solved Threads: 0
Village Idiot Village Idiot is offline Offline
Newbie Poster

Re: Connection to sql database in c#

 
0
  #3
Dec 17th, 2006
Do you have anything on it? just saying do an odbc connection doesnt help me.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 40
Reputation: amithasija is an unknown quantity at this point 
Solved Threads: 0
amithasija amithasija is offline Offline
Light Poster

Re: Connection to sql database in c#

 
0
  #4
Dec 19th, 2006
go to connectionstrings.com,will solve all ur problems related to connection.tell me if you got your problem solved
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 5
Reputation: Village Idiot is an unknown quantity at this point 
Solved Threads: 0
Village Idiot Village Idiot is offline Offline
Newbie Poster

Re: Connection to sql database in c#

 
0
  #5
Dec 20th, 2006
It solves what to give it, but not on what to put it in. what use is a string with no command?

Does anyone know the answer to my question? it cant be that hard.
Last edited by Village Idiot; Dec 20th, 2006 at 12:05 am.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 5
Reputation: Village Idiot is an unknown quantity at this point 
Solved Threads: 0
Village Idiot Village Idiot is offline Offline
Newbie Poster

Re: Connection to sql database in c#

 
0
  #6
Dec 23rd, 2006
I am at my wits end trying to figure this out, does anyone know how to do this?
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 40
Reputation: amithasija is an unknown quantity at this point 
Solved Threads: 0
amithasija amithasija is offline Offline
Light Poster

Re: Connection to sql database in c#

 
0
  #7
Dec 23rd, 2006
send me the string u r using and name of ur machine and database name also.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 5
Reputation: Village Idiot is an unknown quantity at this point 
Solved Threads: 0
Village Idiot Village Idiot is offline Offline
Newbie Poster

Re: Connection to sql database in c#

 
0
  #8
Dec 23rd, 2006
I just figured it out. Thanks for your time
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC