Custom export gridview to excel

Last post 02-25-2008 11:29 AM by mcp111. 7 replies.

Sort Posts:

  • Custom export gridview to excel

    02-20-2008, 2:00 PM
    • Loading...
    • mcp111
    • Joined on 12-31-2006, 12:16 AM
    • Posts 237

    I have an editable gridview and want to eliminate the first column from exporting to Excel.

    I'm using this article for reference

    http://mattberseth.com/blog/2007/04/export_gridview_to_excel_1.html

     

    Regards

    Partha Mandayam
    Sr Prog Analyst
    Kaiser Permanente

    Filed under: , , ,
  • Re: Custom export gridview to excel

    02-20-2008, 4:26 PM
    • Loading...
    • mariolopes
    • Joined on 04-15-2005, 2:42 PM
    • Coimbra - Portugal
    • Posts 470

    Hi there

    Have you tried turn the gridview column visible to false?

    Mario Lopes
  • Re: Custom export gridview to excel

    02-21-2008, 10:27 AM
    • Loading...
    • mcp111
    • Joined on 12-31-2006, 12:16 AM
    • Posts 237

    I need the column to be visible on the screen but only not in the exported excel file.

    Regards

    Partha Mandayam
    Sr Prog Analyst
    Kaiser Permanente

  • Re: Custom export gridview to excel

    02-21-2008, 5:41 PM
    • Loading...
    • mariolopes
    • Joined on 04-15-2005, 2:42 PM
    • Coimbra - Portugal
    • Posts 470

    In the print button before export to excel turn the column invisible.After export turn the column visible again. It allways remains visible on the screen.

     

     

    Mario Lopes
  • Re: Custom export gridview to excel

    02-22-2008, 2:03 AM
    • Loading...
    • Avinash Desai
    • Joined on 01-23-2008, 9:24 AM
    • Bangalore-INDIA
    • Posts 717

    Hi

    Please go through this link

    http://forums.asp.net/t/1218520.aspx 

    Thanks
    ~Avinash desai~
    Software Developer
    Bangalore

    Please remember to click "Mark as Answer" on this post if it helped you.
  • Re: Custom export gridview to excel

    02-22-2008, 10:14 AM
    • Loading...
    • mcp111
    • Joined on 12-31-2006, 12:16 AM
    • Posts 237

    This just goes to the main forum page. Please check the link.

    Regards

    Partha Mandayam
    Sr Prog Analyst
    Kaiser Permanente

  • Re: Custom export gridview to excel

    02-24-2008, 12:26 AM
    • Loading...
    • Avinash Desai
    • Joined on 01-23-2008, 9:24 AM
    • Bangalore-INDIA
    • Posts 717

     Hi

    The link is correct and plz open that link in new window........ 

    Thanks
    ~Avinash desai~
    Software Developer
    Bangalore

    Please remember to click "Mark as Answer" on this post if it helped you.
  • Re: Custom export gridview to excel

    02-25-2008, 11:29 AM
    • Loading...
    • mcp111
    • Joined on 12-31-2006, 12:16 AM
    • Posts 237

    That link doesn't tell me how to skip the first column while exporting.

    Regards

    Partha Mandayam
    Sr Prog Analyst
    Kaiser Permanente

Page 1 of 1 (8 items)
Microsoft Communities
Page view counter