随笔分类 - [01] ASP.NET
ASP.NET用于开发或设计网页/网站。
摘要:Web Profile Builder for Web Application Projects Files can be downloaded from the Web Profile Builder project page. If you use Web Application Projects, you have probably run into the issue of not b...
阅读全文
摘要:jscalendar-1.0中文解决方法 (1)jscalendar-1.0不支持中文 是由于没有设置每周的开始日期 修改方法是在lang目录中的文件calendar-cn_utf8.js(或cn_utf8.js,calendar-zh.js)加上Calendar._FD = 0; 代码片段如下: // short day names Calendar._SDN = new Array ("\u...
阅读全文
摘要:ASP.NET 网站路径 from : http://msdn2.microsoft.com/zh-cn/library/ms178116(VS.80).aspx 使用网站中的资源时,通常必须指定资源的路径。例如,您可以使用 URL 路径引用页面中的图像文件或网站中其他位置处的页面的 URL。同样,Web 应用程序中的代码可以使用基于服务器的文件的物理文件路径对文件进行读写操作。ASP....
阅读全文
摘要:from: http://drupal.org/node/75844 Do this: find which TinyMCE theme you are using. For the sake of example, let's assume it is 'advanced'. Find the associated theme in your modules folder, thus: /...
阅读全文
摘要:from: http://www.nikhilk.net/UpdateControls.aspx Two controls that go along with the UpdatePanel and partial rendering features in ASP.NET Ajax: UpdateHistory and AnimatedUpdatePanel. Finally, I'...
阅读全文
摘要:在Windows版本的Safari中浏览以下的页面。 http://www.asp.net/AJAX/Control-Toolkit/Live/Calendar/Calendar.aspx CalendarExtender出现布局错位。 解决方法: 把下面的代码加到样式表文件中: .ajax__calendar_months { visibility: hidden; } .ajax...
阅读全文
摘要:from: http://blog.sina.com.cn/s/print_4a5e327701000b56.html 首先把Gridview的AutoGenerateColumns属性设为False(默认是False),DataField选择相应的字段,特别需要注意的是要把需要设置的字段的HtmlEncode属性设置为False,否则所设置的格式将无法显示,然后就可以设置每个字段的 Data...
阅读全文
摘要:asp.net中给用户控件添加自定义事件 用户控件中定义好代理和事件: public delegate void ItemSavedDelegate(object sender, EventArgs e); ...
阅读全文
摘要:C#日期格式化 from: http://51xingfu.blog.51cto.com/219185/46222 日期转化一 为了达到不同的显示效果有时,我们需要对时间进行转化,默认格式为:2007-01-03 14:33:34 ,要转化为其他格式,要用到DateTime.ToString的方法(String, IFormatProvider),如下所示: using System; u...
阅读全文
摘要:http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx http://msdn2.microsoft.com/en-us/library/aa983476(VS.80).aspx Upgrading VS 2005 Web Site Projects to be VS 2005 Web Application Proje...
阅读全文
摘要:Ok so you have all seen them: “8 million tools for web development”, “5 gagillion tools that if you don’t use you are stupid”. So of course you click on them (after all that is why people write them)...
阅读全文
摘要:http://aspnet.4guysfromrolla.com/articles/021506-1.aspx By Scott Mitchell Introduction When creating ASP.NET 2.0 applications, developers commonly store sensitive configuration information in the We...
阅读全文
摘要:以下文章提到可以用“http://localhost/MyWebApp/WebAdmin.axd”管理站点: ------------------------------------------------------------ http://msdn2.microsoft.com/en-us/library/ms379595(VS.80).aspx Visual Studio 2005 Tec...
阅读全文
摘要:Visual Studio 2005 IDE相关的11个提高开发效率的技巧 英文原创来源于: http://www.chinhdo.com/chinh/blog/20070920/top-11-visual-studio-2005-ide-tips-and-tricks-to-make-you-a-more-productive-developer/ Here are my top 11 tip...
阅读全文
摘要:This page is specific to Microsoft Visual Studio 2005/.NET Framework 2.0 Guidelines http://msdn2.microsoft.com/en-us/library/ms184410(vs.80).aspx Design Guidelines for Developing Class Libraries ...
阅读全文
摘要:.NET Framework 开发人员可以参照以下文章给命名空间,类,对象,方法,属性,参数等命名: 1)Guidelines for Names http://msdn2.microsoft.com/en-us/library/ms229002(VS.80).aspx 2)MSDN2005简体中文版: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVF...
阅读全文
摘要:I've been struggling for the past couple months to use the Visual Studio XSD tool to create typed datasets from my stored procedures. But I always get an error telling me the temp table is an invalid...
阅读全文
摘要:Open the report in the Designer. In the ToolBox, select/expand the "Report Items" section. Drag an "Image" field/control onto the report. Click on the image and press F4, the properties window pops up...
阅读全文
摘要:Session state模式的健壮性 InProc:如果工作者进程(aspnet_wp.exe)进行资源回收或者应用程序域(appdomain)重启动,session state就会丢失。这是因为session state是保存在一个应用程序域的内存空间中的。对配置文件(如web.config和machine.config)的修改或者\bin目录的任何改变(例如在你使用VS编译应用程序后产生了一...
阅读全文
摘要:以下内容来源于: http://blog.csdn.net/cuike519/archive/2005/09/27/490316.aspx 问:为什么Session在有些机器上偶尔会丢失? 答:可能和机器的环境有关系,比如:防火墙或者杀毒软件等,尝试关闭防火墙。 问:为什么当调用Session.Abandon时并没有激发Session_End方法? 答:首先Session_End方法只支持InPr...
阅读全文