How to Add Item in RadioButtonList in asp.net

1.File-> New-> Website->  ASP.NET Web Site(Visual C#) -> Ok

(Now You will see a Default.aspx page. To create your own page->click on dropdown list below Edit->click Add new item->Select Web Form->click Add)


2.ToolBox-> Double Click on RadioButtonList(or drag and drop RadioButtonList on Design view)-> click arrow sign(Vertical arrow on image) -> click Edit Items->you will promt a popup window
RadioButtonList Control






























 3.Click Add to add new Item to your RadioButtonList-> Change the Text to your desired item name->Ok
RadioButtonList control

































 4.Click F5 to run your project->Ok
RadioButtonList Control output

No comments:

Post a Comment