Methods | Description |
---|---|
Page_Init | Page Initialization |
LoadViewState | View State Loading |
LoadPostData | Postback Data Processing |
Page_Load | Page Loading |
RaisePostDataChangedEvent | PostBack Change Notification |
RaisePostBackEvent | PostBack Event Handling |
Page_PreRender | Page Pre Rendering Phase |
SaveViewState | View State Saving |
Page_Render | Page Rendering |
Page_Unload | Page Unloading |
Overview Ever needed to generate Word documents from your ASP.NET applications? There are a couple of components which will help to generate Word documents, but using these components may have some overhead such as Component Registration, setting permissions, licenses, etc., Sometimes, it may even become difficult to understand their features and use them. Generating word document in ASP.NET with HTML is incredibly easy. The following sample demonstrates how to place Heading and Table dynamically in the word document in ASP.NET web applications using HTML. Requirements Microsoft Visual Web Developer 2005 Express Edition Create the Web Application project Add the new Web Site Application project (with name as Generate Word Document) and place the button (with name as btnGenerateDocument) in the Default.aspx web form as shown below. Double click the highlighted code behind file from the Solution Explorer and add the following namespaces. Listing 1 using System...
Comments
Post a Comment