| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1054 人关注过本帖
标题:为什么我删掉就出错误呢?新手问题本来是做ASP的现在来搞.NET
取消只看楼主 加入收藏
d778
Rank: 1
等 级:新手上路
帖 子:257
专家分:0
注 册:2006-1-10
收藏
 问题点数:0 回复次数:1 
为什么我删掉就出错误呢?新手问题本来是做ASP的现在来搞.NET
<asp:imagebutton id="AdvancedSearch_T" Runat="server" ImageUrl="/images/index/index_supserach_button.gif" AlternateText="aa"></asp:imagebutton>

这是一个 调用页的部分代码! 是一个图片按钮带一个联接!为什么我 删掉它就出现下面的错误提示!
我想把这个图片按钮改成文字的! 如

<a href="111.aspx">搜索</a>  也可以用这里面的连接  但是不懂哦!我是以前做ASP的但是 公司让我改.net真晕啦!看不懂,改了部分 这点难住了我!
先谢谢大家了!

下面错误:
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.]
   Project.Include.SearchEasy.InitializeComponent() +96
   Project.Include.SearchEasy.OnInit(EventArgs e) +27
   System.Web.UI.Control.InitRecursive(Control namingContainer) +321
   System.Web.UI.Control.InitRecursive(Control namingContainer) +198
   System.Web.UI.Control.InitRecursive(Control namingContainer) +198
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692

 
搜索更多相关主题的帖子: NET ASP 删掉 
2007-12-17 11:49
d778
Rank: 1
等 级:新手上路
帖 子:257
专家分:0
注 册:2006-1-10
收藏
得分:0 
什么意思?
就是因为我不懂 我不会 我才来问!
不懂就问 很正常!
为什么你这个态度呢?
谁都一步一步来的

[[italic] 本帖最后由 d778 于 2007-12-17 12:12 编辑 [/italic]]

2007-12-17 12:08
快速回复:为什么我删掉就出错误呢?新手问题本来是做ASP的现在来搞.NET
数据加载中...
 
   



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

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