------------------------ 这是什么问题啊?已经抓狂乐了 ------------------------
Index 0 is not non-negative and below total rows count.
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: Index 0 is not non-negative and below total rows count.
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:
[IndexOutOfRangeException: Index 0 is not non-negative and below total rows count.]
System.Data.DataView.GetElement(Int32 index) +43
System.Data.DataView.get_Item(Int32 recordIndex) +5
client.enroll.CalcSalary(Object strplan, Object strcode, Object i) in \\test03\web\client\enroll.aspx.vb:3537
client.enroll.txtSalary_TextChanged(Object sender, EventArgs e) in \\test03\web\client\enroll.aspx.vb:4685
System.Web.UI.WebControls.TextBox.OnTextChanged(EventArgs e) +108
System.Web.UI.WebControls.TextBox.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +26
System.Web.UI.Page.RaiseChangedEvents() +115
System.Web.UI.Page.ProcessRequestMain() +1099
--------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
------解决方案--------------------在0处没有任何行,可能是你在查询数据的时候绑定出错。。
建议把代码贴出来。。