asp.net - How can I load a byte array into excel? -



asp.net - How can I load a byte array into excel? -

i have btye array load excel. this in vb.net visual studio 2008.

how can load byte array excel via memory or code?

here code, can try:

dim bytes() byte = ctype(dt.rows(0)("data"), byte()) response.buffer = true response.charset = "" response.cache.setcacheability(httpcacheability.nocache) response.contenttype = dt.rows(0)("contenttype").tostring() response.addheader("content-disposition", "attachment;filename=" & dt.rows(0)("name").tostring()) response.binarywrite(bytes) response.flush() response.end()

take @ article explaining every step. @ end of article find code byte array , file

save , retrieve files sql server database using asp.net

asp.net vb.net visual-studio-2008 excel ms-office

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -