locked
export resource file into excel file RRS feed

  • Question

  • User1711805983 posted

    Hii Everybody,


    i want to export my resource file into excel file. And still i haven't  get the success.So can anybody tell me how to do in asp.net?

    Thanks in advance


    Regards

    Sanjeev Thakur

    Wednesday, June 24, 2009 7:56 AM

Answers

  • User-1136466523 posted

    Hi,

    From your description, it seems that you want to export the content in resource file into excel, right?

    After you generate your resource file, you can open it with notepad, and you can see all contents are in XML format, and you can read the "data"  node, and save each node content into a datatable, after that, export the datatable content to your excel file. For more information on how to export data from DataTable to Excel, see:

    http://www.codeproject.com/KB/office/ExcelDataTable.aspx

    Thanks.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 29, 2009 12:42 AM

All replies

  • User-1136466523 posted

    Hi,

    From your description, it seems that you want to export the content in resource file into excel, right?

    After you generate your resource file, you can open it with notepad, and you can see all contents are in XML format, and you can read the "data"  node, and save each node content into a datatable, after that, export the datatable content to your excel file. For more information on how to export data from DataTable to Excel, see:

    http://www.codeproject.com/KB/office/ExcelDataTable.aspx

    Thanks.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 29, 2009 12:42 AM
  • User1711805983 posted

    Thank Dear ..


    Monday, June 29, 2009 4:50 AM