asp中 怎么修改 sql 查询输出的内容?
比如原来的输出是hello 我要叫他现实成中文的你好
if rs("msg")="hello" then
response.write "你好"
'更多elseif..then进行汉化的语句
else
response.write rs("msg")
end if
有帮助麻烦点个采纳【本回答右上角】,谢谢~~有其他问题可以继续交流~
这个应该事先定义好语言包吧
比如定义
Set d = server.CreateObject("Scripting.Dictionary")
d.Add "hello", "你好"
d.Add "goodbye", "再见"
response.write d(rs("msg"))