“/WebSite”应用程序中的服务器错误。
--------------------------------------------------------------------------------在位置 0 处没有任何行。 
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.IndexOutOfRangeException: 在位置 0 处没有任何行。源错误: 
行 226:    {
行 227:        Fill(str_Sql);
行 228:        dr = ds.Tables[0].Rows[0];
行 229:        myConnection.Close();
行 230:    }
 源文件: d:\熟悉\WebSite\App_Code\Config.cs    行: 228 堆栈跟踪: 
[IndexOutOfRangeException: 在位置 0 处没有任何行。]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +832
   System.Data.DataRowCollection.get_Item(Int32 index) +14
   Config.GetRowRecord(String str_Sql) in d:\熟悉\WebSite\App_Code\Config.cs:228
   Index.LoginButton_Click(Object sender, EventArgs e) in d:\熟悉\WebSite\Index.aspx.cs:33
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +75
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +97
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4926