2015/02/03

C#.Net 連結 MySQL

Code:
            string connStr = @"server={0};database={1};uid={2};pwd={3};charset=utf8;Allow Zero Datetime=true;";
            using (MySqlConnection _conn = new MySqlConnection(connStr))
            {
                _conn.Open();
            }