
ASP.NET
msdnlu
这个作者很懒,什么都没留下…
展开
-
页面间传值方法
一、目前在ASP.NET中页面传值共有这么几种方式:1、表单提交, .... form1.submit(); .... 此种方在ASP。NET中无效,因为ASP。NET的表单总是提交到自身页面,如果要提交到别一页面,需要特殊处理。2、链接地址传送接收页面: string str = Request["param1"]3、Session共享发送页面:Session(转载 2007-07-12 12:15:00 · 717 阅读 · 0 评论 -
Website Design With Standards For Browser Compatibility
There was a time when Internet Explorer was arguably all anyone needed by way of a browser. By being ubiquitous, Microsoft almost managed to quash its competition entirely, and other browsers were th转载 2009-11-26 22:23:00 · 451 阅读 · 0 评论 -
HTML - A Website Language Explained - For Over 35s
This is a very perfunctory look at the website code HTML, for those who never did any kind of Computer Studies at school and have never had the need or opportunity to look under the skirt of your a转载 2009-11-26 22:23:00 · 645 阅读 · 0 评论 -
Why Hire a Professional to Design Your Web Site?
Creating an appealing, functional, and effective Web site is much harder than it looks. Its not simply a matter of taking a company brochure or catalog, converting the text to HTML, and throwing in转载 2009-11-26 22:24:00 · 593 阅读 · 0 评论 -
C#SendMail
using System.Web.Mail;MailMessage msg = new MailMessage();msg.Fields["http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"] = 1;msg.Fields["http://schemas.microsoft.com/cdo/configuration/原创 2009-11-26 22:27:00 · 733 阅读 · 0 评论 -
The remote host closed the connection. The error code is 0x80072746.
1. set Page:Buffer="false" 2. in the .ashx set IsReusable = "false"3. set Response.BufferOutput = true;原创 2009-11-26 22:11:00 · 4847 阅读 · 1 评论 -
ASP.NET Disable Submit Button on Click
UseSubmitBehavior="false" OnClientClick="document.getElementById(ibtn).disabled=true" OnClick="ibtn_Click" />原创 2009-11-26 22:12:00 · 606 阅读 · 0 评论 -
overflow hidden td
table-layout: fixed;border-collapse: collapse;"> white-space: pre; overflow: hidden;border: solid 1px black; ">hide the content of td原创 2009-11-26 22:14:00 · 527 阅读 · 0 评论 -
43 Web Design Mistakes You Should Avoid By Jay White
The next step was to write a short description for each one, and the result is the collection of mistakes that you will find below. Some of the points are common sense, others are quite polemic. Most转载 2009-11-26 22:17:00 · 686 阅读 · 0 评论 -
HTML input autocomplete
原创 2009-11-26 22:26:00 · 885 阅读 · 0 评论 -
How To Shop for a Web Design Firm?
While few companies can boast as we do that our first ten clients are still with us today, many companies often change Web design firms to get a new perspective on how their Web presence could look a转载 2009-11-26 22:24:00 · 593 阅读 · 0 评论 -
ActiveReports Error
Failed to open the Default printer is not set. printer, System error number: 1801Printer does not support the given paper size Resolve: rpt.Document.Printer.PrinterName = string.Empty;rpt.PageSet原创 2009-11-26 22:13:00 · 1294 阅读 · 0 评论 -
Is Your Website Color As Inviting as Your Home? Does Color Really Matter?
Weve all read the countless publications about effective web site design, outstanding written content and the never ending need for search engine optimization. But often the importance of color for转载 2009-11-26 22:25:00 · 607 阅读 · 0 评论 -
Windows Server 2003 安装IIS和ASP.NET的方法
Windows Server 2003IISとASP.NETのインストール方法 [コントロールパネル]-[プログラムの追加と削除]をダブルクリックし、[Windowsコンポーネントの追加と削除]をクリック转载 2007-08-07 13:17:00 · 978 阅读 · 0 评论 -
ContentType类型
ContentType类型 ".*"="application/octet-stream"".001"="application/x-001"".301"="application/x-301"".323"="text/h323"".906"="application/x-906"".907"="drawing/907"".a11"="application/x-a11"".acp"="audio转载 2007-08-17 13:20:00 · 785 阅读 · 0 评论 -
理解并使用ASP.NET的高级配置
理解并使用ASP.NET的高级配置 引言: 本文将讨论ASP.NET应用的高级配置方法,在文中将讨论的一些配置如下:为ASP.NET进程设置独立的ID标记;配置ASP.NET网站或者网转载 2007-06-11 10:06:00 · 977 阅读 · 0 评论 -
Session配置
------------------------------------Session配置------------------------------------在Web.Config文件中 enableSessionState="true" enableViewState="true" enableViewStateMac="true" autoEv转载 2007-06-11 10:22:00 · 1828 阅读 · 2 评论 -
ASP.NET实现文件下载
private void download_Click(object sender, System.EventArgs e) { string filename = "file/test.csv"; //这里是虚拟路径 string path = Server.MapPath(filename);原创 2007-06-14 13:17:00 · 555 阅读 · 0 评论 -
ASP.NET中常用的26个优化性能方法
1. 数据库访问性能优化 数据库的连接和关闭 访问数据库资源需要创建连接、打开连接和关闭连接几个操作。这些过程需要多次与数据库交换信息以通过身份验证,比较耗费服务器资源。ASP.NET中提供了连接池(Connection Pool)改善打开和关闭数据库对性能的影响。系统将用户的数据库连接放在连接池中,需要时取出,关闭时收回连接,等待下一次的连接请求。 连接池的大小是有限的,如转载 2007-09-06 09:44:00 · 581 阅读 · 0 评论 -
事务处理Transaction
SqlTransaction tranInsert;private void TransactionInsert() { string ConnectString = ConfigurationSettings.AppSettings["XXX"]; SqlConnection Con = new SqlConnection(ConnectString); try {原创 2007-06-13 16:14:00 · 782 阅读 · 0 评论 -
定义DLL文件的位置
原创 2009-11-14 19:55:00 · 397 阅读 · 0 评论 -
Best Practices for Speeding Up Your Web Site
http://developer.yahoo.com/performance/rules.html原创 2009-11-26 22:13:00 · 415 阅读 · 0 评论 -
9 Ways to Gain Your Visitors Respect
The internet is filled with sites and they are good and bad. Some have been known for a long time and some still struggle to get the respect and fame they think they deserve. Although not all your转载 2009-11-26 22:25:00 · 517 阅读 · 0 评论 -
跨应用程序共享session Sharing Session Across Applications
<br />FROM:http://www.codeproject.com/KB/session/sharedsession.aspx<br />核心代码:<br />web.config<br /><httpModules><br /> <add name="SharedSessionModule" type="SharedSessionModule, SharedSessionModule"/><br /></http转载 2010-12-05 21:31:00 · 1047 阅读 · 0 评论