开发者

how can i know what is the format code of parameter that comes to my page?

开发者 https://www.devze.com 2022-12-18 07:20 出处:网络
how can i know what is the format code of parameter that comes to my page? whorking with ASP some of the character that i see cant found in th开发者_运维百科e DB (access)

how can i know what is the format code of parameter that comes to my page?

whorking with ASP

some of the character that i see cant found in th开发者_运维百科e DB (access)

i want to know the unicode of the value


Assuming you're using C#, you can get the 16-bit characters of strings as integers using (int) foo[0].

(In VB.NET, I think it would be Convert.ToInt32(foo.Chars(0)). In VBA, Asc(foo).)

If the string you're passing to ADO is correct, but the results are not as expected, either the data in the database was already corrupted by some earlier non-Unicode-friendly process, or else Access is not treating the input string and the database record as equal for some unexpected reason. (Equivalence of Unicode strings is a bit complicated.)

0

精彩评论

暂无评论...
验证码 换一张
取 消