04 2008 档案
摘要:转自http://blog.csdn.net/ccp5780199/archive/2008/04/28/2337660.aspx ASP.Net 2.0 中直接GridView加SqlDataSource 实现增删改的文章网上非常多了,这里就不重复了。 GridView + SqlDataSource 分页也很简单,直接点GridView的智能标示,然后启用分页。 加上搜索条件的话其实也不难,主...
阅读全文
摘要:void Application_EndRequest(Object sender, EventArgs e) { // Change the expiration date on outgoing persistent forms // authentication tickets to 24 hours hence. HttpCookie cookie1 = GetCookieFromResp...
阅读全文
摘要:参考链接: Multiple File Upload User Control 效果图: msdn参考:http://msdn2.microsoft.com/en-us/library/aa479405.aspx
阅读全文
摘要:链接地址: http://www.codeproject.com/KB/ajax/UChat.aspx 重点参考代码: namespace UChat.ChatEngine { public class ChatEngine : IChatEngine { const string msg = "{1}\r\n"; const string use...
阅读全文
摘要:优化可以分为两部分: 服务器端优化和客户端优化。 服务器端优化就是保证你的页面在生成HTML时所耗费的时间最短。你可以从ProcessRequest 开始,到Render出去之前监控它所需的时间。如果对这个执行时间很不满意的话,你可以针对每一个步骤(或子控件)的执行进行监控,找到需要优化的位置。 客户端优化包括页面下载优化和脚本下载优化。页面体积如果太大的话,可以进行压缩等手段,来减小网络传...
阅读全文
摘要:最近看了有些网站实现的在线截图功能比较不错。就是上传一个图片以后,把裁剪成固定大小的图片一般用来做自己的照片。 我这文章就是实现这功能,开发工具是vs2005和两个js类库,dom-drag.js和jquery,使用比较简单,这个两个js类库是恨优秀的,建议大家再看看。 先发一个效果图片看看 这个效果是模拟的,如何上传图片等这些小问题就不说了。那个大图片是已经上传到服务器了。然后有个黑色...
阅读全文
摘要:1.user control and masterpage 2.Scrollbars for ContentPlace Holder ASK: Hi All, My problem is that I cannot work out how to make the masterpage Content Section's 'contentplaceholder' scrollable. I...
阅读全文
摘要:在asp.net中,如何使得当session过期后自动跳转到登陆页呢?下面我提供一个简单的方法: private void Page_Load(object sender, System.EventArgs e) { Response.AddHeader("Refresh",Convert.ToString((Session.Timeout * 60) + 5)); if...
阅读全文
摘要:1.How to add javascript or stylesheet to header of asp.net page? 2.Error logging techniques using Database 3.基于HTTP长连接的“服务器堆”技术 4.各种统计图用.net实现 5.System.IO.Compression Namespace 6.Display Images i...
阅读全文
摘要:链接地址: http://www.15seconds.com/issue/050526.htm Is AJAX a new technology? Yes and no would both be incorrect answers. A proper answer would be a new application of current technologies, with emphasis ...
阅读全文
摘要:Question: Hi all experts, I currently have a listbox that has 40 items inside and only 10 is visible at one time in my webpage as the size of the listbox is quite small. As users select the items tha...
阅读全文
摘要:链接地址:http://www.codeproject.com/KB/webforms/FlashAdRotator.aspx This article explains the concept of Asp.Net AdRotator control fetching ad information for FLASH from the database and rotates the ads w...
阅读全文
摘要:Log Explorer http://www.ttdown.com/SoftDown.asp?ID=14562 http://js.fixdown.com/soft/8324.htm http://www.yiii.net/app/servlet/net.yiii.club.DownloadServlet?Information_Id=I00023471 解压缩密码 www.heibai...
阅读全文
摘要:【原文地址】Silverlight Tips, Tricks, Tutorials and Links Page 我将使用本页链接到有关Silverlight 2的文章和贴子(包括我写的和别人写的),请经常回来查看新的内容,因为我才开始。 入门教程 Silverlight 2 初览: 我建议先读这个贴子,如果你正考虑开始Silverlight 2开发的话。该文不仅对Sil...
阅读全文
摘要:链接地址:http://www.codeproject.com/KB/scripting/JSNumberFormatting.aspx key to know: Using the control is very easy and just needs adding the javascript code from the source page. On the textbox on whic...
阅读全文
摘要:转载地址:http://www.codeproject.com/KB/aspnet/EventCalendar.aspx key to know: It is quite simple and straight forward. ASP.NET Calendar control posses an event "DayRender" which has got "DayRenderEventArg...
阅读全文
摘要:初级的程序员或经验不足的程序员往往只意识到自己的程序是写给计算机的,而不会在意程序其实也是写给人的,或在意得不够、不全面。 写给机器的程序,往往追求的是运行正确、执行效率能满足要求。但程序员的任务仅仅就是把业务逻辑转成机器能编译的计算机语言吗? 其实,程序首先(注意,是首先)是写给人的。第一,程序是写给看代码的人的。第二,程序是写给用程序的人的。了解这一点,才能理解写程序为什么要有代码规范...
阅读全文
摘要:参考链接: 1.http://msdn2.microsoft.com/en-us/magazine/cc163614.aspx You may have noticed that the contents stored in are not encrypted but rather are stored as plain text. The same is true of the sectio...
阅读全文
摘要:先查阅了MSDN官方网站关于GridView的相关ButtonField,RowCommand的内容。 http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowcommand.aspx 先摘抄些关键的东西: Occurs when a button is clicked in a GridView...
阅读全文
摘要:http://www.microsoft.com/taiwan/msdn/columns/huang_jhong_cheng/ASP_NET_GridView.htm 漸層光棒 Group Header Group Row Master-Detail GridView Master-Detail GridView Part 2 GridView 的效能
阅读全文
摘要:概要 本文阐述如何使用 Microsoft Visual C# .NET 为 Microsoft Excel 创建自动化客户端。 更多信息 通过自动化过程,使用诸如 Visual C# .NET 这样的语言编写的应用程序就可以用编程方式来控制其他应用程序。利用 Excel 的自动化功能,您可以执行诸如新建工作簿、向工作簿添加数据或创建图表等操作。对于 Excel 和其他 Microsoft...
阅读全文
摘要:http://www.codeplex.com/blogengine/ http://www.subtextproject.com/
阅读全文

浙公网安备 33010602011771号