using (SqlCommand cmd = new SqlCommand("sp_loadGuest", MainClass.con)) { cmd.CommandType = CommandType.StoredProcedure; using (SqlDataAdapter da = new SqlDataAdapter(cmd)) { DataTable dt = new DataTable(); da.Fill(dt); // it takes many sec ... } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)