摘要: 这是一个不好的代码习惯引起的发布后运行时的问题。错误原因为.net2.0无法正确识别服务器控件和变量的大小写区别,但是这个错误只有在iis中体现,在文件系统的调试中没有发生。错误信息引发错误的参考代码如下:[Csharp]view plaincopypublicpartialclass_Default:System.Web.UI.Page{privatestringbutton1="test";protectedvoidPage_Load(objectsender,EventArgse){Response.Write(Button1.Text);Response.Write 阅读全文
posted @ 2013-12-30 11:02 天马3798 阅读(699) 评论(0) 推荐(0) 编辑