.NET
Developing MS Word XML Using the MS Office Word 2003 XML Toolbox
2 years ago. I have implemented a small tool which it can generate MS word document with dynamically data from SQL server database to replace some wordings from original MS word document. This tool was for an existed ASP.NET web application. The user had to output lots of MS world document or PDF document everyday, [...]
Read More » »Several nice website which provides ASP.NET interview questions and answers
Got Several nice website which provides ASP.NET interview questions and answers:
1: ThinkInterview.com
2: dotnetinterview.googlepages.com
3: Many many links
Asp.Net 2.0 Web App Compilation Order (Life Cycle)
Sometimes we need to know the compilation order in an asp.net project. We have to know know which folder in the application structure gets compiled first and which when get compiled last?
See this article by Gourav Kumar . Here I just put his main content :
Here is the compilation life cycle of an Asp.Net project [...]
How to add a Uninstall option in Visual Studio Setup project without writing code
Using Visual Studio 2005/2008, you don’t need to write any code to add a uninstall option for a Setup project (Yes I know some people can write code to do it)
1) In the Setup Project –> File System windows –> Right Click “File System on Target machine” –> add a Special Folder, select System Folder;
2) [...]
Fill a pair of data (text and value) to ComboBox .NET 2.0 Windows Application
In .NET 2.0 Windows Application, It is not easy to fill a pair of data (text, value) to a ComboBox, Most of examples just introduced the Display member and value member:
comboBox1.DisplayMember = “Desc”; comboBox1.ValueMember = “Code”; comboBox1.DataSource = dt;
Now let us don’t use DataSource and DisplayMember way:
class [...]
How to jump to specified tab page of Tab Control using C# code ?
If you wanna write code to jump to specified tab page of a tab control, you can not use Focus() method. or BringToFront(), Show() etc.
The right way is :
this.tabControl1.SelectedTab = this.tabPage3 ;
Public, Private, Protected and Internal in C#
Access Modifiers
(from: http://msdn.microsoft.com/en-us/library/ms173121.aspx)
All types and type members have an accessibility level, which controls whether they can be used from other code in your assembly or other assemblies. You specify the accessibility of a type or member when you declare it by using one of these access modifiers:
public
The type or member [...]
Data Access in ASP.NET 2.0
Collect some links about data access in ASP.NET 2.0:
1: ASP.NET 2.0 中的数据访问 (Chinese);
2: Working with Data in ASP.NET 2.0 ;
3: Data Access in ASP.NET 2.0 (Video);

