ImageList is a class that is only available in WinForms apps - not online. You could include it in your code by adding the appropriate reference and
using
line, but it would still be of no use to you because web controls do not understand it and can;t access images from it. You need to access each image individually, you cna;t just put them in a list and provide an index.
BTW:
SELECT * from Information where Category='Burger' AND Status='Active' AND Status='Active' order by id
You have the same condition twice there, and shouldn't be storing the Status as a string anyway. Instead, set up a second table "Statuses" which contains an IDENTITY column "Id" and a string "Description" then us that as a FOREIGN KEY field in you main table. You can "tie them together" using a JOIN, but it means you don't get duplicate data in your table and that data entry uses the names and can't misspell the status code.
And please, don't use
SELECT *
- it's considered very bad practice. Always list the columns you want in the order you want them - that way you aren't fetching data you don't use and wasting memory and bandwidth.