<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[asp.net出错 c#出错 c#错误]]></title><description><![CDATA[asp.net出错 c#出错 c#错误]]></description><link>https://blog.youkuaiyun.com/erroraspx</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; erroraspx]]></copyright><item><title><![CDATA[ASP.NET错误:输入数组长度大于此表中的列数。]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5385606</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5385606</guid><author>erroraspx</author><pubDate>Tue, 16 Mar 2010 15:15:00 +0800</pubDate><description><![CDATA[说明: 执行当前 Web 请求期间，出现未处理的异常。请检查堆栈跟踪信息，以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.ArgumentException: 输入数组长度大于此表中的列数。错误代码如下：            DataTable sourceTable = null;            sourceTable = GetTe]]></description><category></category></item><item><title><![CDATA[复制DataTable数据,c#出错:该行已经属于另一个表]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5378404</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5378404</guid><author>erroraspx</author><pubDate>Sun, 14 Mar 2010 11:21:00 +0800</pubDate><description><![CDATA[要把数据从一个DataTable复制到另一个DataTable，执行结果出现c#错误:该行已经属于另一个表。 说明: 执行当前 Web 请求期间，出现未处理的异常。请检查堆栈跟踪信息，以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.ArgumentException: 该行已经属于另一个表。错误代码如下：　　　　　　DataTable sou]]></description><category></category></item><item><title><![CDATA[怎么回事儿？C#错误：集合已修改；枚举操作可能无法执行。]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5352440</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5352440</guid><author>erroraspx</author><pubDate>Sat, 06 Mar 2010 18:46:00 +0800</pubDate><description><![CDATA[本意是遍历表的行，当行中“主键”列为“”时，将该行从表中删除。执行时就出现了“集合已修改；枚举操作可能无法执行。”的c#错误提示。c#错误代码如下：DataTable dt = new DataTable();dt = GetTest(tableName);// GetTest方法用于返回一个DataTable类型的结果集foreach (DataRow dr in dt.Rows)/]]></description><category></category></item><item><title><![CDATA[asp.net运行出错:"试图运行项目时出错：无法启动调试。绑定句柄无效"怎么解决？]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5339849</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5339849</guid><author>erroraspx</author><pubDate>Tue, 02 Mar 2010 18:44:00 +0800</pubDate><description><![CDATA[以调试模式运行VS.NET，提示"试图运行项目时出错：无法启动调试。绑定句柄无效"。这叫那门子错误，郁闷了好两天，差点重新安装VS。以查询可以使用以下两种方法解决掉： 先在菜单栏里面选择"调试">>"开始执行（不调试）"，试试，看看能不能成功执行，如果这样能成功，就不需要重装，否则可能需要重新安装了。呜呜！！！第一种解决方法，设置项目属性里的调试选项，让它启用宿主进程，步骤是：右击项目]]></description><category></category></item><item><title><![CDATA[怎么解决Response.Write输出alert时页面样式走样]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5319280</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5319280</guid><author>erroraspx</author><pubDate>Tue, 23 Feb 2010 13:10:00 +0800</pubDate><description><![CDATA[Response.Write输出alert弹出提示对话框时页面样式会走样，咋地解决？不妨试试以下方法。  ////    /// 弹出提示信息框   ///    /// 函数key值   /// 提示信息   public void MessageBox(string strKey, string strInfo)   {    if (!ClientScript.IsClientScrip]]></description><category></category></item><item><title><![CDATA[asp.net出错：在应用程序级别之外使用注册为 allowDefinition='MachineToApplication' 的节是错误的]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5314236</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5314236</guid><author>erroraspx</author><pubDate>Sun, 21 Feb 2010 11:35:00 +0800</pubDate><description><![CDATA[当运行时出现“在应用程序级别之外使用注册为 allowDefinition=MachineToApplication 的节是错误的，如果在 IIS 中没有将虚拟目录配置为应用程序，则可能导致此错误。”提示信息。 第一个解决方法是：在IIS中配置为应用程序。右键>>iis里你的程序目录 >> 属性>>点击 创建应用程序 如果还是出现此错误，那么说明在该项目下还存在另一个web.c]]></description><category></category></item><item><title><![CDATA[Asp.NET生成静态页面并分页]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5310036</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5310036</guid><author>erroraspx</author><pubDate>Wed, 17 Feb 2010 00:01:00 +0800</pubDate><description><![CDATA[[转载] 因为公司的产品用asp开发， 前一段时间用asp写了一个生成静态页面并分页的程序，但缘于对.net的热爱，写了这个.net下的生成静态页面并分页的程序。 主要的原理就是替换模板里的特殊字符。 1、静态模板页面 template.html，主要是定义了一些特殊字符，用来被替换。     Title      Title   浏览    次 Time   Content   Page]]></description><category></category></item><item><title><![CDATA[if  Vs  switch，即生瑜何生亮！]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5309634</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5309634</guid><author>erroraspx</author><pubDate>Tue, 16 Feb 2010 13:57:00 +0800</pubDate><description><![CDATA[大年初三哩，可惜还要忙活下，真羡慕大家出去走走串门呀！今天敲的代码不是if判断就是switch判断，郁闷三。这微软搞出个if为虾米还再弄出个switch三，听着外边鞭炮声、欢笑声，心已远去，遂小试了下。         private const int count = 999999;//比较次数        protected void Page_Load(object sende]]></description><category></category></item><item><title><![CDATA[在ASP.NET 4中如何自动启动Web应用？]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5309106</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5309106</guid><author>erroraspx</author><pubDate>Mon, 15 Feb 2010 14:22:00 +0800</pubDate><description><![CDATA[有些web应用在可以处理用户访问之前，需要装载很多的数据，或做一些花费很大的初始化处理。今天使用 ASP.NET 的开发人员经常使用应用的Global.asax 文件中的 “Application_Start”事件处理函数来做这些工作（该事件是在第一个请求执行时触发的）。他们要么设计定制脚本，周期性地向应用发假的请求，来“唤醒它（wake it up）”，从而在客户访问之前执行这个代码，或者就让那]]></description><category></category></item><item><title><![CDATA[c#出错:System.NullReferenceException: 未将对象引用设置到对象的实例]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5309074</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5309074</guid><author>erroraspx</author><pubDate>Mon, 15 Feb 2010 13:32:00 +0800</pubDate><description><![CDATA[System.NullReferenceException: 未将对象引用设置到对象的实例这个错误在以下代码中经常出现：一、string id = Request.QueryString["XXX"].ToString();二、string session = Session["XXXX"].ToString();三、string viewState = ViewState["XX]]></description><category></category></item><item><title><![CDATA[Asp.net 出错:System.FormatException: 输入字符串的格式不正确]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5309069</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5309069</guid><author>erroraspx</author><pubDate>Mon, 15 Feb 2010 13:24:00 +0800</pubDate><description><![CDATA[Asp.net C#:System.FormatException: 输入字符串的格式不正确protected void btnOut_Click(object sender, EventArgs e){   int age = Convert.ToInt32(txtAge.Text);//System.FormatException: 输入字符串的格式不正确。   string ]]></description><category></category></item><item><title><![CDATA[怎么解决asp.net错误:缺少using 指令或程序集引用 找不到类型或命名空间名称StringBuilder&using的用法]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5308712</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5308712</guid><author>erroraspx</author><pubDate>Sun, 14 Feb 2010 18:20:00 +0800</pubDate><description><![CDATA[在C#中或JAVA程序中要想直接用命名空间（包）中的类，而不必指定类的详细命名空间（包）必须提前引用（导入）该类所在的命名空间或包。出现如题的错误提示是因为使用StringBuilder类声名了变量却没有引用StringBuilder类所在的命名空间引起；另外如果不想引用类所在的命名空间也可以用：命名空间＋“.”＋StringBuilder的方式声明变量；StringBuilder所在的命名空]]></description><category></category></item><item><title><![CDATA[c#出错:当前上下文中不存在名称xxx,变量超出作用范围]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5308526</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5308526</guid><author>erroraspx</author><pubDate>Sun, 14 Feb 2010 12:05:00 +0800</pubDate><description><![CDATA[using System;using System.Text;namespace MyTest{    class Program    {         static void Main(string[] args)        {            for (int i = 0; i             {              int ]]></description><category></category></item><item><title><![CDATA[c#出错:使用了未赋值的局部变量weekStr]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5308204</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5308204</guid><author>erroraspx</author><pubDate>Sat, 13 Feb 2010 13:26:00 +0800</pubDate><description><![CDATA[int weekNum = 9;string weekStr;switch(weekNum ){case 1:weekStr= "星期一";break;case 2:weekStr = "星期二";break;case 3:weekStr= "星期三";break;case 4:weekStr = "星期四";break;case 5]]></description><category></category></item><item><title><![CDATA[Visual Studio 2010 Ultimate beta2下载]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5301518</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5301518</guid><author>erroraspx</author><pubDate>Tue, 09 Feb 2010 10:37:00 +0800</pubDate><description><![CDATA[Visual Studio 2010下载地址http://www.microsoft.com/visualstudio/zh-cn/products/2010/default.mspxVisual Studio 2010 专业版（带MSDN订阅）: 你目前习惯的专业开发工具，将附带源码控制集成，缺陷跟踪，编译自动化等等，它还包括每月50个小时的Azure云计算。 Visual St]]></description><category></category></item><item><title><![CDATA[MS SQL 2005 32/64位下载]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5299630</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5299630</guid><author>erroraspx</author><pubDate>Mon, 08 Feb 2010 20:00:00 +0800</pubDate><description><![CDATA[MS SQL 2005 32/64位下载thunder://QUFmdHA6Ly9TaGFyZToxNjQzQHd3dy5zb293ZWIubmV0L1NoYXJlL1NlcnZlci9NaWNyb3NvZnQlMjBTUUwlMjBTZXJ2ZXIlMjAyMDA1L1NRTC4yMDA1LmFsbC5jaHMuaXNvWlo=Microsoft SQL Server 2005 CHN ]]></description><category></category></item><item><title><![CDATA[彻底清除.net framework]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5298321</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5298321</guid><author>erroraspx</author><pubDate>Mon, 08 Feb 2010 13:00:00 +0800</pubDate><description><![CDATA[有需要卸载.net framework问题的朋友可以使此工具,可以彻底卸载.net framework当前所有版本. dotnet Fx  .net framework 清除工具支持以下版本.net framework的清除:   * .NET Framework - All Versions   * .NET Framework - All Versions (Tablet ]]></description><category></category></item><item><title><![CDATA[vs2005 team suit &vs2005 SP1下载]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5298174</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5298174</guid><author>erroraspx</author><pubDate>Mon, 08 Feb 2010 11:53:00 +0800</pubDate><description><![CDATA[Visual studio 2005 team suit下载地址一http://58.251.57.237/A7/BD/A70AA9B1C3C2AC92E1A7371689095B1F1B9F0EBD.torrentvisual studio 2005 team suit 下载地址二http://58.251.57.237/03/9F/03E1F560C528928B25EE88955]]></description><category></category></item><item><title><![CDATA[vs2008 下载&vs2008 sp1下载]]></title><link>https://blog.youkuaiyun.com/erroraspx/article/details/5297765</link><guid>https://blog.youkuaiyun.com/erroraspx/article/details/5297765</guid><author>erroraspx</author><pubDate>Mon, 08 Feb 2010 10:01:00 +0800</pubDate><description><![CDATA[Visual Studio 2008 Team Suite(90天试用版)下载地址：http://download.microsoft.com/download/d/8/9/d89c9839-ac45-4a6c-b25f-2f60b190e356/VS2008TeamSuiteENU90DayTrialX1429235.iso.NET框架3.5版下载地址：http://download]]></description><category></category></item></channel></rss>