Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: a performance problem, (check this out) Pin
reilak1-Aug-09 22:16
reilak1-Aug-09 22:16 
QuestionConverting HTML File to Excel File and XML File using c# Code Pin
shavil30-Jul-09 2:35
shavil30-Jul-09 2:35 
AnswerRe: Converting HTML File to Excel File and XML File using c# Code Pin
Mike Ellison30-Jul-09 2:57
Mike Ellison30-Jul-09 2:57 
QuestionDouble click custom controls Pin
Jon Henry30-Jul-09 2:27
Jon Henry30-Jul-09 2:27 
AnswerRe: Double click custom controls Pin
Mike Ellison30-Jul-09 2:36
Mike Ellison30-Jul-09 2:36 
GeneralRe: Double click custom controls Pin
Jon Henry30-Jul-09 12:20
Jon Henry30-Jul-09 12:20 
AnswerRe: Double click custom controls Pin
Jon Henry2-Aug-09 1:44
Jon Henry2-Aug-09 1:44 
QuestionConnecting to MySQL from PC Pin
MarkB77730-Jul-09 2:08
MarkB77730-Jul-09 2:08 
Hi,

Just wondering...

I downloaded the MySQLConnection library for VS. I'm using the code below to try and connect to a MySQL database on my webpage.

It's not working though Frown | :(

Anyone tried doing this before?

<br />
<br />
    string server = "Server=http://www.somepage.org.nz;Database=somedatabase;Uid=myusername;Pwd=mypassword";<br />
    MySqlConnection con = null;<br />
    try<br />
    {<br />
        con = new MySqlConnection(server);<br />
        con.Open();<br />
        this.label1.Text = con.State.ToString();<br />
    }<br />
    catch (Exception ex)<br />
    {<br />
        this.label1.Text = ex.Message;<br />
    }<br />


Mark Brock
"We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen

AnswerRe: Connecting to MySQL from PC Pin
stancrm30-Jul-09 2:25
stancrm30-Jul-09 2:25 
AnswerRe: Connecting to MySQL from PC Pin
spalanivel30-Jul-09 2:34
spalanivel30-Jul-09 2:34 
AnswerRe: Connecting to MySQL from PC Pin
Dave Kreskowiak30-Jul-09 6:31
mveDave Kreskowiak30-Jul-09 6:31 
GeneralRe: Connecting to MySQL from PC Pin
EliottA30-Jul-09 7:26
EliottA30-Jul-09 7:26 
GeneralRe: Connecting to MySQL from PC Pin
MarkB77730-Jul-09 15:20
MarkB77730-Jul-09 15:20 
QuestionHow to Read CSV file in Readonly mode and Populate dataset? Pin
Tridip Bhattacharjee30-Jul-09 2:08
professionalTridip Bhattacharjee30-Jul-09 2:08 
AnswerRe: How to Read CSV file in Readonly mode and Populate dataset? Pin
Dave Kreskowiak30-Jul-09 6:29
mveDave Kreskowiak30-Jul-09 6:29 
GeneralRe: How to Read CSV file in Readonly mode and Populate dataset? Pin
Tridip Bhattacharjee30-Jul-09 18:35
professionalTridip Bhattacharjee30-Jul-09 18:35 
GeneralRe: How to Read CSV file in Readonly mode and Populate dataset? Pin
Dave Kreskowiak31-Jul-09 13:16
mveDave Kreskowiak31-Jul-09 13:16 
QuestionException use instead of validation Pin
Raybarg30-Jul-09 1:14
professionalRaybarg30-Jul-09 1:14 
QuestionStatic constructor Pin
erfgerfgerger30-Jul-09 1:07
erfgerfgerger30-Jul-09 1:07 
AnswerRe: Static constructor Pin
Ashfield30-Jul-09 1:29
Ashfield30-Jul-09 1:29 
GeneralRe: Static constructor Pin
erfgerfgerger30-Jul-09 1:34
erfgerfgerger30-Jul-09 1:34 
GeneralRe: Static constructor Pin
Luc Pattyn30-Jul-09 2:04
sitebuilderLuc Pattyn30-Jul-09 2:04 
GeneralRe: Static constructor Pin
Ashfield30-Jul-09 8:28
Ashfield30-Jul-09 8:28 
AnswerRe: Static constructor PinPopular
DaveyM6930-Jul-09 1:33
professionalDaveyM6930-Jul-09 1:33 
AnswerRe: Static constructor Pin
Daniel Grunwald30-Jul-09 1:49
Daniel Grunwald30-Jul-09 1:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.