Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Input string was not in a correct format.


when i Converting String to byte datatype

mystring="myfair....... "
Posted
Updated 18-Sep-13 22:18pm
v2

1 solution

The error message is correct and clear: mystring is not a valid representation of a byte value (for instance mystring="12" is a valid representation).
 
Share this answer
 
Comments
AnnuBhai 19-Sep-13 4:38am    
kkkk
CPallini 19-Sep-13 4:51am    
I see. Also your comment apparently is not in a correct format. :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900