G
Guest
I'm a C# beginner. Can someone convert this VB code to C#?
Dim i as Integer
for i = 0 to 4
dim pnl as Panel = ctype(FindControl("pnl" & i.tostring), Panel)
if mytabstrip.SelectedIndex = i then
pnl.Visible="True"
else
pnl.Visible="False"
End If
next
End Sub
Thanks in advance.
Dim i as Integer
for i = 0 to 4
dim pnl as Panel = ctype(FindControl("pnl" & i.tostring), Panel)
if mytabstrip.SelectedIndex = i then
pnl.Visible="True"
else
pnl.Visible="False"
End If
next
End Sub
Thanks in advance.