title: Add ListBox items from Dataset
body: <p>I have this C# code.</p>
  
  <pre><code>j = myAccountDataset.Tables["AccountsTables"].Rows.Count;
  
                  for (i = 0; i &lt;= (j - 1); i++ )
                  {
  
                     listAccountList.Items.Add(myAccountDataset.Tables[0].Rows[i][1]);
                  }
  
                  this.listAccountList.SelectedIndex = 0;
  </code></pre>
  
  <p>the idea is to iterate inside the dataset and add the items to the list.
  but i am getting the following errors:
  Error   1   The best overloaded method match for 'System.Web.UI.WebControls.ListItemCollection.Add(string)' has some invalid arguments  </p>
  
  <p>Argument1: cannot convert from 'object' to 'string'</p>
  
  <p>i must be doing something wrong. thye error is in the line:   listAccountList.Items.Add(myAccountDataset.Tables[0].Rows[i][1]);</p>
  
  <p>thank you.</p>