I've done this in classic asp, but I'm trying to figure out how to do it in asp.net.
I have a file that is written to on the web server.
I need to read in this file and build a 10 column html.
This is a sample of the file I'm reading from (we didn't want to use a database because of all the hassles that go along with that):
My style|10 column bar chart|9/16/2010 9:59:53 AM||9/16/2010 9:59:53 AM||1|Column|PANTONE_BLACK_CV|33.9|25.1
chart1|my chart style|9/16/2010 10:06:07 AM|sball|9/16/2010 10:06:07 AM|sball|1|Column|PANTONE_BLACK_CV|33.9|25.1
steve5|My chart style here|9/16/2010 10:18:06 AM|sball|9/16/2010 10:18:06 AM|sball|1|Column|PANTONE_BLACK_CV|33.9|25.1
The "|" separate values, each entry, starts with a new line. I have two questions:
1. Anyway, I need to build a HTML table from this data. I used to use response.write before (in classic asp), but if I do that, the content gets written to the top of the page, not where I want it. How can I control its placement?
2. I would also like the to add some buttons to the top of this form, so they can sort by various things. For example, if the want to reverse sort, or sort by a column. How best (and easiest way) to approach this?
I have a file that is written to on the web server.
I need to read in this file and build a 10 column html.
This is a sample of the file I'm reading from (we didn't want to use a database because of all the hassles that go along with that):
My style|10 column bar chart|9/16/2010 9:59:53 AM||9/16/2010 9:59:53 AM||1|Column|PANTONE_BLACK_CV|33.9|25.1
chart1|my chart style|9/16/2010 10:06:07 AM|sball|9/16/2010 10:06:07 AM|sball|1|Column|PANTONE_BLACK_CV|33.9|25.1
steve5|My chart style here|9/16/2010 10:18:06 AM|sball|9/16/2010 10:18:06 AM|sball|1|Column|PANTONE_BLACK_CV|33.9|25.1
The "|" separate values, each entry, starts with a new line. I have two questions:
1. Anyway, I need to build a HTML table from this data. I used to use response.write before (in classic asp), but if I do that, the content gets written to the top of the page, not where I want it. How can I control its placement?
2. I would also like the to add some buttons to the top of this form, so they can sort by various things. For example, if the want to reverse sort, or sort by a column. How best (and easiest way) to approach this?