Hello,
Does anyone know how to convert the following line of ASP code to C#. I can't work out how to do this as there doesn't seem to be an equivalent to the Asc function.
------
...
For i = lStringLength To 1 Step -1
eText = eText & Chr(Asc((Mid(toEncrypt, i, 1))))
Next
...
------
Thanks for any help
Si.
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=3828&lngWId=10Eric
try the code convertor
http://www.developerfusion.co.uk/utilities/convertvbtocsharp.aspx
fadil1977 wrote: try the code convertor
http://www.developerfusion.co.uk/utilities/convertvbtocsharp.aspx
Doubt that would work since C# does not have the Asc function.
Eric
you might be right ....personally i used the convertors but it does not give me 100% accuracy but i try to save the time and correct the errors manually ... and i have no clue about the convertor if it does or not work for the asc function
0 comments:
Post a Comment