I have an physically existing aspx
file on IIS
. It has a asp.net Grid View controls and few lines of html.
Now what I want is , the code will render the aspx somewhere in memory with the grid view populated with database in runtime. Then through my code , i will be able to read the entire generated html.
Is it possible? Or any alternative so that I can open the form but it will be not availabe to the user, some kind of visible=false
thingy.
Kindly help.
Note:
I am expecting same process as we use to read txt files. But here i need one more extra stuffing, that is ,calling the page life cycle events too.