Mysql slowing down my application

Posted by user2985991 on Stack Overflow See other posts from Stack Overflow or by user2985991
Published on 2013-11-13T03:43:32Z Indexed on 2013/11/13 3:53 UTC
Read the original article Hit count: 79

Filed under:
|

my application is taking ages to load because of my database isnt located on my computer.. Anyone have any idea to how improve my performance?

    public Form1()
    {
        Splash splash = new Splash();
        splash.Show();
        InitializeComponent();
        Load();

    public void Load()
    {
        db.SelectTeam();
        db.SelectMatches();
    }

On db.SelectTeam and SelectMatches I get everything I need from mysql and put into lists... Sorry if it's confusing, but I don't know what to do, and sorry for my bad english

EDIT: Here are the querys string query = "SELECT * FROM teams ORDER BY name"; string query = "SELECT * FROM matches ORDER BY date ASC";

© Stack Overflow or respective owner

Related posts about c#

Related posts about mysql