sql = "select * from gwc where username='" + Session["username1"].ToString()
堆栈跟踪:[NullReferenceException:未将对象引用设置到对象的实例。]ddlist.Page_Load(Objectsender,EventArgse...
堆栈跟踪: [NullReferenceException: 未将对象引用设置到对象的实例。] ddlist.Page_Load(Object sender, EventArgs e) in c:\Users\lenovo\Desktop\myNewspaper\ddlist.aspx.cs:18 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
展开
6个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询