ssis - How to set the excel border to blank in c# -
basically, using script task within ssis format excel cells. excel template contains blank formatting cells :.
but when add row using c# code in script, formatting appears this: .
i have tried setting border none using following script:
_borders[excel.xlbordersindex.xledgeleft].linestyle = excel.xllinestyle.xllinestylenone; _borders[excel.xlbordersindex.xledgetop].linestyle = excel.xllinestyle.xllinestylenone; _borders[excel.xlbordersindex.xledgeright].linestyle = excel.xllinestyle.xllinestylenone; _borders[excel.xlbordersindex.xledgebottom].linestyle = excel.xllinestyle.xllinestylenone;
_borders here of type excel.borders have tried setting weight , value = 0. nothing seems work. not accomplish want. idea how this? dont want set line color white. want blank.
got no answers one, figured out needed uncheck "show grid lines" check box. felt may trying this.
Comments
Post a Comment