.net - Create a formatted SpreadSheet with DocumentFormat.OpenXML? -


i want create spreadsheet documentformat.openxml. i've been having hard time getting work, thought i'd ask here.

i programmatically create spreadsheet @ runtime downloaded asp.net web site.

(1) want spreadsheet contain rows of data sql database. want row headers consist of black text on yellow background. have string data, incidently, may contain strings of digits. want treated string @ times (ie, don't want 31415926535 presented 3.1415926e10)

(2) have 300px x 300px png image appear below last row of data. image saved on server hello.png.

what code need write make (1) , (2) happen?

i've done similar. believe best way accomplish need first create template excel spreadsheet. then, using open xml productivity tool, reflect code needed create it.

reading through limited documentation left me spinning wheels until started using productivity tool. generate extraneous code gets meat , helpful.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -