title: Unable to cast object of type 'System.Int32'
body: <p><strong>CODE</strong></p>
  
  <pre><code>SqlCommand cmd = new SqlCommand("select billno from tpdetail", con);
      con.Open();
      SqlDataReader reader = cmd.ExecuteReader();
      AutoCompleteStringCollection MyCollection = new AutoCompleteStringCollection();
      while (reader.Read())
       {
          MyCollection.Add(reader.GetString(0).ToString());
       }
      textBox3.AutoCompleteCustomSource = MyCollection;
  </code></pre>
  
  <p>I get the following exception:</p>
  
  <blockquote>
    <p>Unable to cast object of type 'System.Int32' to type 'System.String'</p>
  </blockquote>