Hello,
I am having some issues in creating a list from a database.
I am loading a layout in a panel, based on if there is text in a field in my database. (there could be about 250 fields I need to display, but in my attached example I have made it 200)
So if the field in my database is blank (no text) then it will skip and move onto the next one. If it isn't blank (has something in the field) then it should load the layout in the panel and display it on the screen.
However when I am doing this it is taking about 2-3 seconds to show it on the screen.
The less items with names the faster it loads. So I am guessing it is taking some time to create/add the layout to the page?
Is there a better way to do this or is there a way to make it faster?
I have attached the code I am using hoping someone can help.
I am having some issues in creating a list from a database.
I am loading a layout in a panel, based on if there is text in a field in my database. (there could be about 250 fields I need to display, but in my attached example I have made it 200)
So if the field in my database is blank (no text) then it will skip and move onto the next one. If it isn't blank (has something in the field) then it should load the layout in the panel and display it on the screen.
However when I am doing this it is taking about 2-3 seconds to show it on the screen.
The less items with names the faster it loads. So I am guessing it is taking some time to create/add the layout to the page?
Is there a better way to do this or is there a way to make it faster?
I have attached the code I am using hoping someone can help.