how tyo convert to C#

Posted by Oswaldlily under ASP.NET on 1/5/2012 | Points: 10 | Views : 1018 | Status : [Member] | Replies : 1
If (TypeOf ctl Is TextBox) Then
Dim txt As TextBox = DirectCast(ctl, TextBox)




Responses

Posted by: Naraayanan on: 1/9/2012 [Member] Starter | Points: 25

Up
0
Down
Hi
if ((ctl is TextBox)) {

TextBox txt = (TextBox)ctl;
}


and try this link
http://www.developerfusion.com/tools/convert/vb-to-csharp/

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response