How to remove gridlines while exporting SSRS 2008 R2 report to Word

Answered How to remove gridlines while exporting SSRS 2008 R2 report to Word

  • Friday, February 08, 2013 2:29 AM
     
     

    Hi all,

    I have successfully invoked web services to export SSRS 2008 R2 report to Word. However, users mentioned that the Word document is formatted with grid lines

    so that they cannot edit the document freely. I wonder about the possibilities to remove (not hiding) grid lines while exporting report to Word.

    Here is the my development environment:

    _______________________________________________

    SSRS: 2008 R2
    Word: User will open the file with Word 2010
    Web Service: .net framework 2.0

    Format and Device Information in Web Service:

    ...

    string format = "WORD"; 
    string devInfo = "<DeviceInfo><FixedPageWidth>True</FixedPageWidth></DeviceInfo>";

    ...

    _______________________________________________

    and snapshot of Word file after exporting (I have turned on ViewGridlines):

    Any idea is appreciated, thanks!

    Regards,

    David

All Replies