1 | Code Cracker
ID: 20491621 Fri, Jan 28, 2005, 23:51
|
Is this ASP or ASP.NET? How are you displaying your results? Is it in a datagrid or as just HTML? Are you databinding to a control?
If you aren't databinding you could store all the results in a hidden field and decide which ones to display on the client-side when the user clicks on a number using Javascript.
I don't really understand your query. It is: "SELECT id, username, date_uploaded, file_desc, file_name, file_location, file_size FROM Files WHERE 1=1 ORDER BY date_uploaded DESC"
Is there a field in your table named 1? If not then the WHERE clause will fail.
Any additional info you can give would help.
|