About 5 mins =.=
public static MySqlConnection NewConnection() {
MySqlConnection C = null;
try {
C = new MySqlConnection("Server="+SERVER+";Database='"+DATA_BASE+"';Username='"+USER_NAME+"';Password='"+PASSWORD+"';");
C.Open();
} catch(Exception e) {
Console.WriteLine(e.ToString());
return null;
}
return C;
}
catch(Exception e) { }
tanelpie is right you probably just pasted the code I gave you to fix Line 34 but you had the catch exception high lighted also.Quote:
Ok, Thanks... I will follow ur advice... And sry about the double post =P
Edit: Btw Visual C# says that CoEmu_v2_GameServer.Database.DatabaseConnection.cs has 5 errors...