Summary
Everything went wrong yesterday. In the morning, my stomach started to feel uncomfortable. Insist on writing this article recommendation in the afternoonArticleAfter that, the draft has been deleted even if it has not been released ?! Windows Live writer does have a set of data security solutions. The deleted drafts cannot be recovered No matter what software is used ...... In the evening, I took a look at China and Iran to play football, and China was finally eliminated ......
I think this series has been stuck for almost two months. It is not my character to stop the first phase! Hold back and write it again ...... I have no mood to introduce it in detail. Every article contains only three words and two sentences ...... Sorry.
There are eight articles in this issue:
- Appsetting in Web. config
- Globalization and localization solutions in ASP. NET 2.0
- The secret behind ASP. NET Ajax
- Import data from the DataGrid to an Excel file.
- Create a timer control in an ASP. NET mobile form
- WPF/E and script #
- Toolkit extender used to create WPF/e Components
- Extend Microsoft. Web. Administration Part 2 through powershell
[1]Appsettings in Web. config(Appsetting in Web. config)
This article describes the appsetting content in Web. config, which is simple and easy to understand and suitable for beginners.
[2]ASP. NET 2.0 Globalization & Localization Solution(Globalization and localization solutions in ASP. NET 2.0)
This article uses a simple example to introduce the implementation of globalization and localization solutions in ASP. NET 2.0, and uses SQL Server 2005 to save resource information.
[3]ASP. NET Ajax under the hood secrets(The secret behind ASP. NET Ajax)
This article describes some of the frequently used skills and tricks in ASP. NET Ajax development. It is not a general discussion on paper. The author has used ASP. NET ajax to develop large-scale applications.ProgramAnd have a deep understanding of it.
[4]Exporting data grid to excel(Import data from the DataGrid to an Excel file)
Very common problems, the solution is also very simple, just a few linesCodeYou can:
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 =NewSystem. Io. stringwriter ();
System. Web. UI. htmltextwriter htmlwrite =NewHtmltextwriter (stringwrite );
Mydatagrid. rendercontrol (htmlwrite );
Response. Write (stringwrite. tostring ());
Response. End ();
[5]Make your ASP. NET mobile forms Timer(Create the timer control in the ASP. NET mobile form)
Mobile devices do not support JavaScript or refresh meta tags, so common client timer controls cannot be used on them. This article introduces another implementation method.
[6]WPF/E and script #(WPF/E and script #)
Nikhil Kothari updated his script # tool in this article to enable script # To write client scripts for WPF/e. Below is a short piece of code:
Wpfeplayer player = wpfefactory. createwpfeplayer ((String) Arguments ["ID"],
(Domelement) Arguments ["Parentelement"],
(String) Arguments ["Markupurl"],
"Black",/* Windowless */ True);
_ Photoviewercontrol =NewPhotoviewercontrol (player ,(String) Arguments ["Flickrkey"]);
[7]Toolkit Extender for creating WPF/e Components(Toolkit extender used to create WPF/e components)
The toolkit extender provided by Shawn Burke allows us to easily add the WPF/E component to the page. You only need the following lines of code:
<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)(Extend Microsoft. Web. Administration Part 2 through powershell)
This article describes how to use powershell to extend the Microsoft. Web. Administration API that is unique to iis7. The first accessing Microsoft. Web. administration through powershell (part I) in this series is also worth reading.