c# mysql select into datatable

89

c# mysql select into datatable -

MySqlCommand cmd = new MySqlCommand(query, connection);
DataTable dt = new DataTable();
dt.load(cmd.ExecuteReader());
return dt;

Comments

Submit
0 Comments