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 :excel cells no border.

but when add row using c# code in script, formatting appears this: new row formatting.

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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -