随笔分类 - [01] ASP.NET
ASP.NET用于开发或设计网页/网站。
摘要:How to Change aaa or AAA to be Aaa UPDATE TableName SET first_name=upper(first_name) WHERE len(first_name)=1; UPDATE TableName SET first_name=upper...
阅读全文
摘要: http://www.west-wind.com/wconnect/webcontrols/progressBar.wcsx RadProgressBar int j = Textbox_InputText.Lines.Length; (ss.Items[1] as RadProgressBarElement).Maximum = j; int i; for (i = 0; i ...
阅读全文
摘要:1、缓存 对那些经常使用的数据和需要大量的时间来创建的数据可以存储在内存中,后来的请求直接使用,不需要在从新生成, 使用方法很简单: <%@OutputCache VaryByParams="none" Duration="120"%> 使用缓存的原则: 1)在页面中静态的内容和动态的内容分割开来。 ...
阅读全文
摘要:Rad TreeView for ASP.NET AJAXhttp://www.telerik.com/products/aspnet-ajax/treeview.aspxAjaxPro.NET框架生成高效率的Tree(Asp.net 2.0)(示例代码下载)http://www.builder.com.cn/2008/0324/781170.shtmlASP.NET TreeView Control - AJAX Tree-Grid Hybrid Control - DevExpress ASPxTreeListhttp://www.devexpress.com/Products/NET/C
阅读全文
摘要:我在asp.net2.0中使用ajax的timer去定时刷新一个updatapanle,只用一个用户的时候没有问题,可是多个用户同时访问就弹出the status code returned from the server was 500,我把updatapanle去掉又没有错误了,怎么解决啊? 原来我以为是代码有问题,可是把updatapanel去掉运行了一个小时也没有报错误,page上设置了V...
阅读全文
摘要: Internet Explorer cannot open the Internet site - Operation aborted http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/334e42a4-241d-4ca0-9521-c805660921f8 Of late ...
阅读全文
摘要:试试在“解决方案资源管理器”中,刷新目标项目,看看项目中有没有一些文件丢失(以感叹号标识,如下图所示), 如果有,将所有这些文件补上或者“从项目中排除”,然后再重新生成安装包。 1.检查文件中是否有文件未包括到项目中, 2。检查是否项目中有文件前面含有感叹号,特别是图像文件。他们可能是在文件中已经删除,但在项目中未删除。
阅读全文
摘要:Asp.net不像Asp一样,建个文件夹就能放一个程序,互不干扰,为了让一个虚拟主机能放多个Asp.net,查找了不少资料,没有一个答案是完美的,不过有些资料倒给了我一些启发,通过思考,加上实践,终于探索出一个新路子,实现了能简单提出为一个网站,也能合并的方案。同时感谢菜菜灰的帮助,请看实现的效果: 我的个人网站:http://www.socan.com.cn/ 客户管理系统:http://ww...
阅读全文
摘要: Part 1 of 3: Creating sub-projects in IIS with Web Application Projects From: http://blogs.msdn.com/webdevtools/archive/2006/07/01/652986.aspx This post is one of a three part series ...
阅读全文
摘要:Response.Redirect work fine with properly configured AJAX extensions Response.Redirect will not work without this in web.config. <httpMo...
阅读全文
摘要:1、问题描述: 在使用ASP.NET Ajax的日历控件时,可能会出现控件的部分被其它DIV容器遮住的情况,从理论上讲是设置DIV的z-index属性就可以, 但是关键是怎么设置日历控件的z-index,使其处于最顶层。 2、解决办法: 通过查找日历控件的源代码,可以找到名为Calendar.css的样式表,样式表的第一行表示整个日历控件这个容器的样式,代码如下: .ajax__calendar_...
阅读全文
摘要: 现在ASP.NET虚拟主机一般都可以绑定多个域名,但是通过这几个域名打开的页面都一样。如何使绑的这几个域名分别打开不通的页面(即实现子网站的功能)呢? 其实很简单,只需4个步骤: 1)给虚拟主机绑定几个域名;例如:www.abc.com,services.abc.com,support.abc.com。 ...
阅读全文
摘要: Tip/Trick: Creating Packaged ASP.NET Setup Programs with VS 2005 http://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx ...
阅读全文
摘要:XP SP3无法安装IIS 解决办法如下: 依次打开控件面板-添加删除程序-添加删除windows组件-附件和工具-详细信息-游戏-详细信息, 将ZInternet游戏前的勾去掉,然后再安装IIS即可! -------------------------- iis版本不一样,2000系统用5.0,xp系统用5.1,2003系统用6.0 -------------------------- ...
阅读全文
摘要:Ran into problems trying to deploy my first web application to use a SQL Server Reporting Services report. I created a RDLC file and bound my report viewer control to an object data source. Worked fin...
阅读全文
摘要: IE – File - Work Offline The download of the specified resource has failed. The status code returned from the server was: 2.
阅读全文
摘要:When I try to build an application for web deployment I get an error; Unable to build project output group 'Content Files from ProjectNET (Active). The error is prefixed by; C:\Documents and Settings\...
阅读全文
摘要:CompareValidator HAS BUG OR I AM MISING SOMETHING ? I have a text box for price then I have a compare validator. The problem here is that even if I put a number like $32000.00 it gives me the e...
阅读全文
摘要:AutoCompleteExtender in Safari create new line after TextBox, The first line work correctly, second line create new line after textbox. <asp:TextBox ID="txtSearchById" runat="server&...
阅读全文
摘要:Export GridView to Excel within an UpdatePanel There’s a ton of information online about exporting a DataGrid or GridView to Excel, but most variations do not consider the GridView may reside within ...
阅读全文