Our Instant C# VB.NET to C# converte produces:
for (x = 65; x <= 90; x++)
{
SQLHolder.Text=SQLHolder.Text + "<a href=\"alpha.aspx?alpha=" + (char)(x)
+ (char)(34) + " class=\"LinkClass\">" + (char)(x) + "</a> | ";
}
SQLHolder.Text=SQLHolder.Text + " | <a href=\"alpha.aspx\">All Names</a>";
Download our Demo Edition to easily obtain C# equivalents for these sort of
small VB.NET code snippets (
www.instantcsharp.com).
David Anton
Tangible Software Solutions Inc.
www.tangiblesoftwaresolutions.com
Home of the Instant C# VB.NET to C# converter and the Instant VB C# to
VB.NET converter
"huzz" wrote:
How can i convert this lines of codes into C#? Many thanks
for x=65 to 90
SQLHolder.text=SQLHolder.text & "<a href=""alpha.aspx?alpha=" & chr(x) &
chr(34) & _
" class=""LinkClass"">" & chr(x) & "</a> | "
next
SQLHolder.text=SQLHolder.text & " | <a href=""alpha.aspx"">All Names</a>"
End If