I am newbie to VB .NET. I could data bind text boxes and combo box, not radio button. I am trying to data bind a radio button - home and work address. I found a link, after a long search, that works for me.
The author created a RadioButtonList (that acts similar to a combo box). Please download the code at the top of the article.
My question is the following:
In Form1, I see buttons and label in the design view. I see RadioButtonList1 control inside the "Button1_Click" event. I am wondering how author declared and created RadioButtonList1.
I see RadioButtonList1 being declared and initialized inside "Windows Form Designer generated code ". I cannot modify that code using the code editor.
Is RadioButtonList1 created at run time? If so, how could I create one? I appreciate if you give me direction to go about it.