yesubabu k

yesubabu k

  • 1.1k
  • 644
  • 62.6k

timed out error

Mar 13 2018 4:48 AM
SqlConnection con = new SqlConnection(connectionstring);
SqlCommand cmd = new SqlCommand(sqlQuery, con);
cmd.Connection.Open();
cmd.CommandTimeout = 999999999;
SqlDataAdapter sqlDA = new SqlDataAdapter(cmd);
sqlDA.Fill(dt);
cmd.Connection.Close();
 
 

Answers (13)