Welcome[乐天彩票]开奖号码为梦而年轻!

“/”应用程序中的服务器错误。

给定关键字不在字典中。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Collections.Generic.KeyNotFoundException: 给定关键字不在字典中。

源错误:


行 34:                 for (int i = 0; i < dv1.Count; i++)
行 35:                 {
行 36:                     lanmuid = dv1[i]["lanmuid"].ToString();
行 37:                     sb.Append("<div class=\"bt\"><a href=\"/" + url + ".aspx?tid=" + lanmuid + "\">" + dv1[i]["lname"].ToString() + "</a>" + "</div>");
行 38:                     DataView dv2 = new DataView(dt);

源文件: d:\newweb\newweb\uc\zjleft.ascx.cs    行: 36

堆栈跟踪:


[KeyNotFoundException: 给定关键字不在字典中。]
   System.ThrowHelper.ThrowKeyNotFoundException() +28
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +7461644
   System.Data.DataView.get_Item(Int32 recordIndex) +24
   weige.web.uc_zjleft.getLeftMenu() in d:\newweb\newweb\uc\zjleft.ascx.cs:36
   ASP.uc_zjleft_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\newweb\newweb\uc\zjleft.ascx:4
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   ASP.zhuanjia_aspx.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\ed9468aa\e4bb04a1\App_Web_4j1tkljz.2.cs:0
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   ASP.zhuanjia_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\newweb\newweb\zhuanjia.aspx:14
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


版本信息: Microsoft .NET Framework 版本:2.0.50727.8000; ASP.NET 版本:2.0.50727.8001