应该是
if Session("uYGBH") = nothing then
'.........
end if
if Session("uYGBH") = nothing then
'.........
end if
解决方案 »
- 求助各位asp高手,不胜感激
- 关于:代码中0x41、0x4b代表什么?
- 关于UpdatePanel和ContentPlaceHolder的问题
- 高分奉上,求解SQL2000同步问题,急急急!!!!
- 别让我对csdn失望!!!!!
- RequiredFieldValidator验证RadioButtonList问题
- A potentially dangerous Request.Form value错误信息,我要所有危险的字符?
- GridView中Button传值
- 急急急急! 求救ASP做网页访客跟踪系统!100分!
- 急 !急!急!一个很简单的ASP.NET程序为何不能正常运行?谢谢帮助
- 如何把 客户端的txt 和doc类型文件类容 导入textbox 控件文本中
- 请教:如何在asp.net实现对不同的用户设置管理权限????????(最好举例说明)
Response.Write("无效用户,请重新登录!")
try
uygbh = Session("uYGBH")
catch (Exception e)
{
Response.Write("无效用户,请重新登录!")
Console.WriteLine("Exception in Main: " + e.Message)
}
if (uygbh is system.dbnull.value) then
Response.Write("无效用户,请重新登录!")
Response.End() 有问题请联系我。