tags:

views:

33

answers:

2

have made a asp.net table which on run time gets populated with labels, literals, data, formatting etc.

form1.innerhtml says page doesnot have literals only.

i need to extract this asptable generated at runtime, as html code so that it can be eported to a word file..(as word easily supports html) and the browser is also displaying html so how to get the html?

A: 

Look at the HttpResponse.Filter property.

ace
+2  A: 
rchern
The best overloaded method match for 'System.IO.StreamWriter.StreamWriter(string)' has some invalid arguments Error 2 Argument '1': cannot convert from 'System.Text.StringBuilder' to 'string'
@user287745 I added a complete .aspx and a couple notes.
rchern