Hi,
I would like add a new item to a RadioButtonList after binding the items from database.
rbtnl1.Items.Add(new ListItem("All", "0"));
I used this code. But I need to add this new item to the index 0.
Please help.
Try this
rbtnl1.Items.Insert(0, new ListItem("All", "0"));
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.