Dim rptCheckBox As CheckBox = CType(Item.FindControl("chkSearch"), CheckBox)
how to convert this line code in C#.net
Convert this line code in C#.net
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Nov 17, 2014, 8:50 PM EST
Joginder BangerRank #360 · 7K reputationPosted Nov 17, 2014, 9:49 PM EST
don't worry about the convert vb to c# because lot to tool available online..
following this link
http://converter.telerik.com/
your code after the convert
CheckBox rptCheckBox = (CheckBox)Item.FindControl("chkSearch");