I
Ivan Demkovitch
Hi!
I'm VB developer learning ASP.NET and C#
Unfortunately, my book has only few examples in C#, all in VB.NET
Here is a question:
I'm trying to add control dinamically. In VB it looks like:
Dim CheckBoxList1 As New CheckBoxList()
Controls.Add(CheckBoxList1)
CheckBoxList1.Items.Add("Check1")
How do I write this code in C#?
I'm VB developer learning ASP.NET and C#
Unfortunately, my book has only few examples in C#, all in VB.NET
Here is a question:
I'm trying to add control dinamically. In VB it looks like:
Dim CheckBoxList1 As New CheckBoxList()
Controls.Add(CheckBoxList1)
CheckBoxList1.Items.Add("Check1")
How do I write this code in C#?