TechSapphire Monday, 2018-06-25, 0:56 AM
Site menu
Login form
News
Play Games
  • Deep Freeze
  • Ice Slide
  • Gyroball
  • Fat Fish
  • Bush Royal Rampage
  • Main » 2012 » November » 2 » Create Excel (xls) from gridview, XSLT from XML using c#, ASP.NET or .NET
    0:41 AM
    Create Excel (xls) from gridview, XSLT from XML using c#, ASP.NET or .NET
    Create Excel (xls) from gridview, XSLT from XML using c#, ASP.NET or .NET

    In this example i have covered 2 ways of generating XLS:

    1. From Gridview
    2. Using XLST file

    Code for Gridview to XLS:

    Download code for Gridview to Excel


    Code for XLS using XSLT:

    Download code for generating excel using XSLT

    Note:
    • Better way is using XSLT.
    • XSLT is fast resource for generating XSL
    • Can be used with any datasource taking XML in between.

    Category: Programming | Views: 6478 | Added by: Admin | Tags: ASP, ASP.NET, Excel, xml, Generate, XSLT, gridview, .NET, C# | Rating: 0.0/0
    Total comments: 0
    Only registered users can add comments.
    [ Registration | Login ]
    Categories
    Programming [27]
    Tips for programming
    Security [2]
    Security Tips
    Google [1]
    Use google faster then ever you use
    Project [14]
    HTML [2]
    Electronics [0]
    Data Structure [0]
    Database [16]
    SQL SERVER
    SSRS [1]
    Sql Server Reporting Services
    Copyright MyCorp © 2018