5分想知道这是什么错误类型.下班前揭贴!在另一个页面是好的。换个就不行了为什么。
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:
Line 81: {
Line 82: string flag="";
Line 83: flag = Session["flag"].ToString();
Line 84: if (flag=="1") //判断是否按下修改按纽,是那就更新记录保存.
Line 85: