void btn1click(object sender, EventArgs e)
{
string itemName = "house" + (rbHouse.Items.Count + 1);
ListItem newListItem = new ListItem(string.Format("<b>{0}</b>", itemName), itemName, true);
newListItem.Selected = true;
rbHouse.Items.Add(newListItem);
}
|