James,

Thanks for the correction. :-)

The code should be :

---
DropDownList2.Items.Clear();
while (dr.Read())
{
  DropDownList2.Items.Add(Convert.ToString(dr["RegionName"]))
}


On Jul 23, 8:18 pm, James <[email protected]> wrote:

> Cerebrus, that code is going to clear all the items in the list with
> each loop.  That doesn't seem right.
>
> James
>

Reply via email to