本期共有8篇文章:
[1] AppSettings In web.config (web.config中的AppSetting)
本文介紹了web.config中的AppSetting的相關(guān)內(nèi)容,簡(jiǎn)潔易懂,適合初學(xué)者參考。
[2] ASP.NET 2.0 Globalization & Localization solution(ASP.NET 2.0中的全球化以及本地化解決方案)
本文通過一個(gè)簡(jiǎn)單示例介紹了ASP.NET 2.0中的全球化以及本地化解決方案的一種實(shí)現(xiàn),使用SQL Server 2005保存資源信息。
[3] ASP.NET AJAX under the hood secrets (ASP.NET AJAX隱藏在背后的秘密)
本文介紹了在使用ASP.NET AJAX開發(fā)時(shí)常用的一些技巧以及訣竅,不是泛泛的紙上談兵,作者用ASP.NET AJAX開發(fā)過大型的應(yīng)用程序,并對(duì)其有非常深厚的理解。
[4] Exporting Data Grid to Excel (將DataGrid的數(shù)據(jù)倒入至Excel文件中)
很常見的問題,解決方案也很簡(jiǎn)單,幾行代碼即可:
Response.Clear();
Response.AddHeader("content-disposition", "attachment;filename=FileName.xls");
Response.Charset = "";
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.ContentType = "application/vnd.xls";
System.IO.StringWriter stringWrite = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
myDataGrid.RenderControl(htmlWrite);
Response.Write(stringWrite.ToString());
Response.End();
[5] Make Your ASP.NET Mobile Forms Timer(創(chuàng)建ASP.NET Mobile表單中的Timer控件)
移動(dòng)設(shè)備上不支持JavaScript,也沒有Refresh Meta標(biāo)記,所以常見的客戶端Timer控件便無法在其上使用。本文介紹了另外一種實(shí)現(xiàn)方法。
[6] WPF/E and Script# (WPF/E和Script#)
Nikhil Kothari在這篇文章中更新了他的Script#工具,讓Script#也能夠給WPF/E編寫客戶端腳本了。下面是一小段代碼:
WPFEPlayer player = WPFEFactory.CreateWPFEPlayer((string)arguments["ID"],
(DOMElement)arguments["ParentElement"],
(string)arguments["MarkupURL"],
"Black", /* windowLess */ true);
_photoViewerControl = new PhotoViewerControl(player, (string)arguments["FlickrKey"]);
[7] Toolkit Extender for creating WPF/E components (用來創(chuàng)建WPF/E組件的Toolkit Extender)
Shawn Burke給出的這個(gè)Toolkit Extender可以讓我們很方便地在頁面中加入WPF/E組件。只要如下幾行代碼即可:
<wpfe:WPFEHostExtender ID="wpfeControl" Runat="server"
Height="350px" TargetControlID="Panel1" Width="350px"
XamlPath="myWpfeControl.xaml" BackgroundColor="transparent"/>
[8] Extending Microsoft.Web.Administration through PowerShell (Part II) (通過PowerShell 擴(kuò)展Microsoft.Web.Administration 第二部分)
本文介紹了使用PowerShell 擴(kuò)展IIS7所特有的Microsoft.Web.Administration API的方法。本系列的第一篇Accessing Microsoft.Web.Administration through PowerShell (Part I) 也非常值得一讀。
聯(lián)系客服