主题:  经常出这个问题

哈哈品

职务:普通成员
等级:6
金币:18.0
发贴:4349
注册:2001/9/11 14:26:11
#12008/2/22 19:05:05
我用firefox

引用:
Server Error in '/' Application.
There is no row at position 0.
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.IndexOutOfRangeException: There is no row at position 0.

Source Error:

Line 207: {
Line 208: MyUser u = new MyUser();
Line 209: u.Identity = ds.Tables[0].Rows[0]["Identity"] + "";
Line 210: u.Fullname = ds.Tables[0].Rows[0]["Fullname"] + "";
Line 211: u.Nickname = ds.Tables[0].Rows[0]["Nickname"] + "";


Source file: e:\WebSite\5D_Home\App_Code\User.cs Line: 209



绿茶

职务:普通成员
等级:8
金币:10.0
发贴:19267
注册:2000/12/28 12:10:01
#22008/2/26 8:29:52
对FIREFOX支持不好