c# Loading mysql config
#1

I coded a test tool mysql config tool. I can save my config but not load? Somebody can help me? 

try
{
System.IO.TextReader textreader1 = new System.IO.StreamReader("Jaiz.set");


textreader1.Close();
this.statuslbl.ForeColor = Color.Green;
statuslbl.Text = "Reading MySQL Config file Succesfull!";

}
catch
{

this.statuslbl.ForeColor = Color.Red;
statuslbl.Text = "Reading MySQL Config file failed!";
}

what i have to write next? 

maybe that? 

textreader1.ReadLine(textBox_host.Text);

but seem to not work. I hope somebody can help me



Messages In This Thread
[No subject] - by Jaiz - 06-16-2013, 09:55 AM
[No subject] - by Phantom - 06-16-2013, 07:01 PM
[No subject] - by someone - 06-29-2013, 05:56 PM
[No subject] - by xNiceEinz. - 02-25-2014, 06:40 PM
[No subject] - by xMeowx3 - 02-25-2014, 07:47 PM
[No subject] - by Johnny5 - 02-25-2014, 07:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)