R
Rich S
I created this neat little .net site which tracks the inventory of my
little widge company giving me real time inventory counts and whatnot.
It uses your standard code that calls a stored procedure and loads up a
datagrid and works really well.
It occurred to me that since my database inventory is only updated once
per day at 6:30 am having this dynamic query and page generation is
overkill and I really just need to save the output to some static html
page. (or static aspx page with the data hard coded in).
This would save alot of processing and probably make the site very
quick to respond to the thousand upon thousand requests for this
information from my users.
So my question is how do I get from the aspx page with the datagrid to
the html page thats just a table with hard coded data?
I'm guessing there's no function called "save as html" from a web form
that would do this for me and I am stuck writing this out manually?
Once I have the output html stored in some file (like inv011706.html)
is there a way I can import this from my default.aspx file based upon
the current date?
Thanks
little widge company giving me real time inventory counts and whatnot.
It uses your standard code that calls a stored procedure and loads up a
datagrid and works really well.
It occurred to me that since my database inventory is only updated once
per day at 6:30 am having this dynamic query and page generation is
overkill and I really just need to save the output to some static html
page. (or static aspx page with the data hard coded in).
This would save alot of processing and probably make the site very
quick to respond to the thousand upon thousand requests for this
information from my users.
So my question is how do I get from the aspx page with the datagrid to
the html page thats just a table with hard coded data?
I'm guessing there's no function called "save as html" from a web form
that would do this for me and I am stuck writing this out manually?
Once I have the output html stored in some file (like inv011706.html)
is there a way I can import this from my default.aspx file based upon
the current date?
Thanks