locked
how to export two gridview into an excel file? RRS feed

  • Question

  • Hi all..


    I would like to export two gridview into an excel file..

    The code is run well for exporting an gridview to an excel file..
    I wondering if i can export 2 gridview to an excel file...


    Thanks..


    ~ have a nice day ~
     
    • Moved by Michael Sun [MSFT]Microsoft employee Friday, November 7, 2008 1:00 AM Off Topic for Visual C# Language (Moved from Visual C# Language to Off-Topic Posts (Do Not Post Here))
    Friday, October 31, 2008 5:47 AM

Answers

  • asp.net forums no respond at all although already wait so long time..


    but luckily i had found the solution on it myself...



    anyway, thanks for suggestion.
    • Marked as answer by wonderfulStar Monday, November 10, 2008 2:14 AM
    • Unmarked as answer by wonderfulStar Monday, November 10, 2008 2:14 AM
    • Marked as answer by wonderfulStar Monday, November 10, 2008 2:15 AM
    • Unmarked as answer by wonderfulStar Monday, November 10, 2008 2:15 AM
    • Marked as answer by wonderfulStar Monday, November 10, 2008 2:21 AM
    Monday, November 10, 2008 2:13 AM

All replies

  • Do you want to export both gridview to the same file?
    MCTS, CodeProject MVP 2008
    Friday, October 31, 2008 7:12 AM
  • Hi,Giorgi..

    Yup..i want to export both gridview into a same file...(excel file/ word file)...
    can you please help on that?

    Thanks
    Wednesday, November 5, 2008 8:08 AM
  • Hello,

           Since GridView is a web control.   I think you will get more help on ASP.NET forum.  

           Thanks,

    Best Regards,
    Lingzhi
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/csharpide/thread/8e9ed0d7-11ff-402a-8489-9b5f05eeb706 http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    Friday, November 7, 2008 1:00 AM
  • asp.net forums no respond at all although already wait so long time..


    but luckily i had found the solution on it myself...



    anyway, thanks for suggestion.
    • Marked as answer by wonderfulStar Monday, November 10, 2008 2:14 AM
    • Unmarked as answer by wonderfulStar Monday, November 10, 2008 2:14 AM
    • Marked as answer by wonderfulStar Monday, November 10, 2008 2:15 AM
    • Unmarked as answer by wonderfulStar Monday, November 10, 2008 2:15 AM
    • Marked as answer by wonderfulStar Monday, November 10, 2008 2:21 AM
    Monday, November 10, 2008 2:13 AM
  • Hi WonderfulStart,

     

    I am having the same problem. Could you please help me with that ? i want to export two gridviews in one excel file in different tabs..

     

    Thanks,

    Dulari 

    Saturday, February 5, 2011 5:40 PM