Dim li As New ListItem("Not Selected", "0"
dlAccessType.Items.Insert(0, li)
The above code is in VB.NET, I want to change the samthing in C#.NET. I don't know how to declare the li variable using C#.
If anybody knows, let me know.
Thanks in Advance.
dlAccessType.Items.Insert(0, li)
The above code is in VB.NET, I want to change the samthing in C#.NET. I don't know how to declare the li variable using C#.
If anybody knows, let me know.
Thanks in Advance.