Question:
Changing this VB Code to C#?
DanCorb
2008-12-03 07:40:52 UTC
I want the items selected in a CheckBoxList ro be displayed in a label.

I want to use this example (but in C#):
http://www.w3schools.com/aspnet/showasp.asp?filename=demo_checkboxlist

check1.Items(i).Text doesn't seem to work in C#:
Error 43 Non-invocable member 'System.Web.UI.WebControls.ListControl.Items' cannot be used like a method.

How can I do this?
Three answers:
Pervalicious
2008-12-03 07:59:08 UTC
try this out:







any further questions just email me.
anonymous
2016-10-14 11:43:50 UTC
discover ways to ******* use Google, that's plenty easier and is not any longer chock-crammed with idiots OR the best thank you to do some elementary arithmetic applications in C#. Jesus, they are elementary as hell. that's extremely helpful to re-evaluate programming in case you may no longer determine that out.
Maligui
2008-12-03 07:44:36 UTC
Use this tool

http://www.developerfusion.com/tools/convert/vb-to-csharp/



it converts vb.net to c# and vise versa


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...