Hi,
I have a ASP page which is coded to do the following tasks:-
1) Create a recordset/connection.
2) In a while not end of recordset loop, 'Response.Write'
the fields to the displayed page in a html table.
I have multiple '<% %>' blocks within the table html
code.
3) At the very end of my script, I 'Repsonse.Write' the
the number of records in the recordset.
Everything works a treat except for the order of execution.
For some reason my Response.Write to show the count of records in the record set is written to the browser page BEFORE the table of returned records...even though that part of the code is last in my script.
Can somebody explain why this is? Is it because of the embedded html?
I have a ASP page which is coded to do the following tasks:-
1) Create a recordset/connection.
2) In a while not end of recordset loop, 'Response.Write'
the fields to the displayed page in a html table.
I have multiple '<% %>' blocks within the table html
code.
3) At the very end of my script, I 'Repsonse.Write' the
the number of records in the recordset.
Everything works a treat except for the order of execution.
For some reason my Response.Write to show the count of records in the record set is written to the browser page BEFORE the table of returned records...even though that part of the code is last in my script.
Can somebody explain why this is? Is it because of the embedded html?