小问题,解决即结贴!!!
hfkj 2007-07-10 04:00:31
异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。
源错误:
行 27: OleDbDataReader odr;
行 28: odr = WebFunction.dataReader("select upwd from admin where uname='" + WebFunction.safeForm(txtuser) + "'");
行 29: if (odr.Read())
行 30: {
行 31: if (odr[0].ToString() == txtpwd)
源文件: e:\test\mynet\admin\login.aspx.cs 行: 29