RSS-2.0

Category: ASP.NET

  • Compilation Life cycle of Asp.Net 2.0 Web Site

    We all know the term compilation in Asp.Net. But do you know what is the order of compilation in an asp.net project. Do you know which folder in the application structure gets compiled first and which when get compiled last? Here is the compilation life cycle of an Asp.Net project in the order they get compiled. App_GlobalResources: First of all the global resources are compiled and the resource assembly is built. All the assembly's in...>
    Read more...
    2/5/2008 10:54:23 PM Published by FengLiN Category ASP.NET Comments 0 Views (564)
  • Export dataset into Excel with unicode support using xml

    I want to export dataset data into excel with number, date format support, but I do not want to install Excel in my server. I donot have the licences. here is the code for you. the following code use xml to handle the excel. Download Source Code here Imports Microsoft.VisualBasic Imports System.Data Imports System.IO Public Class WorkBookEngine     Public Sub CreateWorkbook(ByVal dt As DataTable, ByVal Filename...>
    Read more...
    1/25/2008 2:25:14 AM Published by FengLiN Category ASP.NET Comments 0 Views (1074)
  • Export CSV with unicode content

    You've got an encoding issue. The default encoding for StreamWriter is UTF8NoBOM. That encoding should properly encode Unicode characters. Your problem is likely located in the app you use to read the file. Maybe you can egg it into interpreting the file properly if it contains a BOM (byte order mark). Construct it like this:

    new System.IO.StreamWriter(fileName, Encoding.UTF8);>
    Read more...
    1/25/2008 2:21:00 AM Published by FengLiN Category ASP.NET Comments 0 Views (710)
<<<12