リンク: ASP.NET程序中常用代码汇总(一)  – dotnet.csdn.net 团队blog (测试). 1. 打开新的窗口并传送参数: //传送参数: response.write(“<script>window.open(’*.aspx?id=“+this.DropDownList1.SelectIndex+“&id1=“++“’)</script>“)   //接收参数: string a = Request.QueryString(“id“); string b = Request.QueryString(“id1“); 2.为按钮添加对话框 Button1.Attributes.Add(“onclick“,“return confirm(’确认?’)“); button.attributes.add(“onclick“,“if(confirm(’are you sure?’)){return true;}else{return false;}“) 3.删除表格选定记录 int intEmpID = (int)MyDataGrid.DataKeys[e.Item.ItemIndex]; string deleteCmd = “DELETE from Employee where emp_id = “ + intEmpID.ToString() 4.删除表格记录警告 private void DataGrid_ItemCreated(Object sender,DataGridItemEventArgs e) {  switch(e.Item.ItemType)  {   case ListItemType.Item :   case ListItemType.AlternatingItem… Read More


リンク: ASP.NET Web Parts Pages. リンク: WebParts Communication: How WebParts on a page communicate with each other.… Read More


リンク: Enterprise .NET Community: Creating a Custom ASP.NET Profile Provider. ASP.NET 2.0 is a compelling platform for most Web sites. The inclusion of many of the basic facilities that most Web sites will need like the ability to have members, keep profile information on those members and use role-based authorization, makes ASP.NET 2.0 an easy… Read More


リンク: Ajax.NET Professional Examples. Microsoft.NET Framework 2.0 Below you will find some example web pages that are using Ajax.NET to get rid of the postback in typical ASP.NET applications: Class Example DataType Example DataSets Example HtmlControls Example Collections Example Special Example OnLoading Example KeyPress Example UserControls Example I added a Quick Guide to get the… Read More


リンク: User Interface. Karl Seguin September 2005 Applies to:    AJAX (Asynchronous JavaScript And XML)    Microsoft AJAX.NET    Microsoft ASP.NET Summary: Learn how AJAX (Asynchronous JavaScript And XML) can be used to make your Microsoft ASP.NET applications more dynamic and responsive. (17 printed pages) Download the code sample for this article, AjaxASPNETCS.msi in C#… Read More


リンク: ONDotnet.com: Localization in ASP.NET 2.0.     Published on ONDotNet.com (http://www.ondotnet.com/) http://www.ondotnet.com/pub/a/dotnet/2005/08/08/localizingaspnet20.html See this if you’re having trouble printing code examples Localization in ASP.NET 2.0 by Wei-Meng Lee 08/08/2005 The Web is an international place. Why shouldn’t your websites be ready for   international visitors? Isn’t that was the first two Ws (”World”  … Read More


リンク: Fredrik Norm�n’s blog – NSQUARED2. I have implemented a new feature for the WebPart feature shipped with ASP.Net 2.0. The new feature is an extended PropertyGridEditorPart where you can build your own editor control for the properties. If you use a PropertyGrdiEditorPart, all properties will be displayed within the edit part as a TextBox,… Read More


リンク: 博客园 – 思想和风的收藏馆 – .net下paypal的电子支付方式编程(1). 文只讨论并记述了利用paypal Express Checkout方式支付,目前中文的paypal(贝宝)不能和其他paypal互相支付,可能是因为国内汇市还未开放的问题,这里因为我的客户不需要 处理贝宝,所以我也没有看他的资料,但我想应该差不多。本文很多地方是引用 PP_WebsitePaymentsPro_IntegrationGuide.pdf 中内容并汉化了,但其中有些细节的地方,本人做了详细说明,这样可以减少您开发时候的一些迷惑,所以,当你看到有熟悉文字时,请理解作者的苦心,呵呵,有 问题的朋友可以在这里或在西客集留言来找我 众所周知 paypal是ebay旗下的电子支付网关,去年还收购了Verisign,啧啧,难道他要一统电子支付的江湖? paypal 本身是通过Email就可以收取或支付钱的电子支付网关,但他也同时支持对信用卡如 VISA Card, MasterCard, American Express, Discover Card这些烂玩意儿收取,如同Verisign那样,并称为paypal Direct payments,但听说手续费太贵了,我的客户没有用它的这个功能,所以我也没有研究,但我想既然我们目前使用的Verisign都让人家收购了,我想 我们用他的Direct payments日子也不远了 还有一种比较简单的称为WebsitePaymentsStandard支付方式,这个比较简单,比较适合在虚拟主机上架设自己电子商务网站的用户,而WebsitePaymentsPro才是一个成熟电子商务网站需要的,下面请听寡人一一为您道来 1 安装篇 这里不得不说paypal做的仔细,竟然专门开发了一个称为sandbox[我叫他傻盒,呵呵]用来进行开发人员测试,精力充沛阿 a 安装Microsoft .NET Framework Service Pack 1 或者你直接用 Microsoft .NET Framework2.0   b 安装OpenSSL for Microsoft Windows ,没有的朋友去http://www.slproweb.com/products/Win32OpenSSL.html 找并安装 c 安装WinHttpCertCfg.exe ,没有的朋友去http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=C42E27AC-3409– 40E9-8667-C748E422833F… Read More


リンク: Nikhil Kothari’s Projects : Web Development Helper. Web Development Helper A browser extension to provide tools for the Web developer including ASP.NET page and control developers. ASP.NET Development Helper is a utility for ASP.NET page and control developers that plugs into Internet Explorer. It allows viewing information about the current page such as view… Read More


リンク: Nikhil Kothari’s Projects : JavaScript Utilities Project. JavaScript Utilities Project A set of javascript-related utilities and components for Web developers doing client-side development… The JavaScript Utilities project is oriented at developing a set of tools and components geared toward enhancing the development model around JavaScript as used for implementing rich Web applications. For example,… Read More