| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1682 人关注过本帖
标题:求助:错误信息(Object reference not set to an instance of an object)
只看楼主 加入收藏
长风大侠
Rank: 1
等 级:新手上路
帖 子:11
专家分:0
注 册:2006-4-25
收藏
 问题点数:0 回复次数:1 
求助:错误信息(Object reference not set to an instance of an object)
大家好!我刚写了一个 XX.ASPX.CS文件,运行时,出现以下错误.请那位高手能找出其中的原因啊!谢谢!

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   CommonFunction.DataGridPager.InitializeComponent() in F:\ggf\MyBooks\ASP.NET 专家门诊300问\季久峰\光盘\Example\第6章 数据服务控件\示例116\DataGridPager.aspx.cs:59
   CommonFunction.DataGridPager.OnInit(EventArgs e) in F:\ggf\MyBooks\ASP.NET 专家门诊300问\季久峰\光盘\Example\第6章 数据服务控件\示例116\DataGridPager.aspx.cs:49
   System.Web.UI.Control.InitRecursive(Control namingContainer) +240
   System.Web.UI.Page.ProcessRequestMain() +172

搜索更多相关主题的帖子: instance reference Object object set 
2006-05-05 13:30
小笨笨
Rank: 5Rank: 5
等 级:贵宾
威 望:19
帖 子:1169
专家分:0
注 册:2006-4-17
收藏
得分:0 

看E文的有点头痛。

好像是说哪个对象是空


欢迎光临我的博客: http://smallfools.blog./default.html
2006-05-05 15:19
快速回复:求助:错误信息(Object reference not set to an instance of an objec ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.019846 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved