WebService:System.InvalidOperationException: 无法生成临时类
摘要:System.Web.Services.Protocols.SoapException: 服务器无法处理请求。---> System.InvalidOperationException: 无法生成临时类(result=1)。\nerror CS2001: 未能找到源文件“C:\\WINDOWS\\TEMP\\zyobqxbr.0.cs()解决方法:给C:\WINDOWS\Temp...
阅读全文
posted @
2008-07-28 15:29
含羞草
阅读(3166)
推荐(0)
VS.NET开发环境的WIN FORM中怎样加入ActiveX控件
摘要:第一步;自定义工具箱,把ActiveX控件加入Toolbox第二步:从工具箱拖动你所家的控件到窗体上如果不行的话,检查是否正确添加了引用
阅读全文
posted @
2007-08-30 20:05
含羞草
阅读(538)
推荐(0)
C# Winform程序如何获取运行路径
摘要:path=AppDomain.CurrentDomain.BaseDirectory;
阅读全文
posted @
2007-07-17 17:02
含羞草
阅读(2699)
推荐(0)
转:类型"string"的值无法转换为"System.Drawing.Color"
摘要:来源:http://blog.csdn.net/xiong1000/archive/2006/12/12/1439927.aspx================类型"string"的值无法转换为"System.Drawing.Color"代码如下: string strC="#C0FFFF"; Label1.BackColor=strC; 报错为:类型"string"的值无法转换为"System...
阅读全文
posted @
2007-06-03 15:54
含羞草
阅读(1678)
推荐(0)
转: Simple ASP.NET 2.0 Tips and Tricks that You May (or may not) have Heard About (一些简单的、你可能已经知道或者不知道的ASP.NET 2.0技巧)
摘要:包括:
Maintain the position of the scrollbar on postbacks
Set the default focus to a control when the page loads
Set the default button that is triggered when the user hits the enter key
Locate nested controls easily
Strongly-typed access to cross-page postback controls
Strongly-typed access to Master Pages controls
Validation groups
Finding control/variable names while typing code
阅读全文
posted @
2007-04-30 15:21
含羞草
阅读(342)
推荐(0)
Asp.net : 访问嵌套模版页中的控件
摘要:如果要访问的控件位于母版页的 ContentPlaceHolder 控件内部,必须首先获取对 ContentPlaceHolder 控件的引用,然后调用其 FindControl 方法获取对该控件的引用。
阅读全文
posted @
2007-04-19 17:11
含羞草
阅读(1584)
推荐(0)
安装删除服务
摘要:C#服务: 安装服务: installutil 服务文件名 启动服务: net start 服务名 停止服务: net stop 服务名 删除服务: sc delete 服务名 C++服务: 安装服务: 服务文件名 -i 删除服务: 服务文件名 -u
阅读全文
posted @
2007-04-09 12:03
含羞草
阅读(358)
推荐(0)
C++.Net在Release方式下单步调试时需要修改一些设置,否则变量会有错位或乱码,切记!
摘要:在release状态下单步调试时变量值会错位或显示乱码,还会跳过整段的代码,刚开始不明就里,还以为是VS.NET本身有问题呢,呵呵 补记:在Release还是可以单步debug的,在Solution Explorer(解决方案资源管理器)中的工程名称上点击右键,选择Properties,在工程属性窗体中修改如下几处设置:1、Configuration Properties -> C/C++ -> ...
阅读全文
posted @
2007-03-19 08:36
含羞草
阅读(1379)
推荐(0)
VS.NET2005安装过程中遇到error:1935错误时的解决方法
摘要:卸载Visual Studio .NET之后,mscoree.dll文件可能仍未从System32文件夹中成功移除。在安装过程中,由于该文件已经存在,可能会看到编号为1935的错误,也可能会看到错误 4113,其注释为:“安装程序检测到使用Beta2框架的产品。有关详细信息,请查看临时目录中的dotnetfx.log。”。 要解决此问题,将该文件删除即可, 如果无法删除此文件,请将此文件重命名为m...
阅读全文
posted @
2007-03-08 19:59
含羞草
阅读(4349)
推荐(0)
转:VS2005TeamSuite装sp1时出现的error:2908解决方法
摘要:VS2005TeamSuite装sp1时出现的error:2908解决方法
阅读全文
posted @
2007-03-08 19:16
含羞草
阅读(1575)
推荐(0)
在VS.net调试环境中运行网站程序时ReportViewer控件的工具栏显示为英文的解决方法
摘要:由于安装的是英文版的VS.NET2005,结果在调试网站时,ReportViewer控件的工具栏会显示为英文,很是郁闷了一阵,后来终于发现可以通过安装一个ReportViewer控件语言包来解决,真是不错:)语言包下载地址:http://www.microsoft.com/downloads/details.aspx?familyid=E3D3071B-D919-4FF9-9696-C11D312...
阅读全文
posted @
2007-01-13 15:21
含羞草
阅读(1086)
推荐(0)
网站发布在中文操作系统,但ReportViewer的工具栏显示为英文的解决方法
摘要:打包的时候加上 Microsoft.ReportViewer.WebForms.resources.dll 这个文件即可
阅读全文
posted @
2007-01-11 10:55
含羞草
阅读(2844)
推荐(0)