摘要:
改程序时候出了个错误,HttpContext.Current.Session 不能取值,报错:未将对象引用设置到对象的实例查看代码发现“ Private connOF As DBSearch = New DBSearch("OF") ” 初始化在Page_load之前,作为全局定义的。 (DBSearch为数据库访问类,获取SESSION的一些字段等)Imports System.DataImports System.Data.SqlClientImports System.StringImports System.Timers Partial Class lianxi I 阅读全文
posted @ 2013-01-23 13:06
醉月清风
阅读(2619)
评论(0)
推荐(0)
浙公网安备 33010602011771号