K
KA Kueh
Dear all,
I have a requirement to replace the ' character with ASCII character (146)
in C# but it seems that when I do the following the conversion is lost.
char t = Convert.ToChar(146);
string s = t.ToString();
The trouble now is that the s object now contains the ASCII character (63)
now. I know because when I store the string to SQL database it show the
ASCII charactor (63). Can someone help? Thanks.
Regards,
Kueh.
I have a requirement to replace the ' character with ASCII character (146)
in C# but it seems that when I do the following the conversion is lost.
char t = Convert.ToChar(146);
string s = t.ToString();
The trouble now is that the s object now contains the ASCII character (63)
now. I know because when I store the string to SQL database it show the
ASCII charactor (63). Can someone help? Thanks.
Regards,
Kueh.