title: error CS0266: Cannot implicitly convert type 'object' to 'int'
body: <blockquote>
    <p>error CS0266: Cannot implicitly convert type 'object' to 'int'. An
    explicit conversion exists (are you missing a cast?)</p>
  </blockquote>
  
  <pre><code>int dd= 6000;
  sqlCmdDefaultTime = new SqlCommand("myQuery", sqlCon);
  sqlDefaultTime = sqlCmdDefaultTime.ExecuteReader();
  while (sqlDefaultTime.Read())
  {
        dd= sqlDefaultTime[1];
  }
  </code></pre>
  
  <p>how can i cast </p>