You could change your select statement
If your added another filter to the select statment in SqlDataSource1, you'd have an easier time.
SELECT * FROM [tbl_PageInfo] WHERE ([type] = @type) AND ([picturefilename] > '')
This way, empty picturefilename rows from the database don't end up in the data source you're binding to, so empty frames won't get displayed.
Another suggestion would be...
User Profile
Collapse
-
BackgroundWorker.RunWorkerAsync is not returning immediately.
Has anyone run into a situation where a call to BackgroundWorke r.RunWorkerAsyn c does not return immediately?
I've used BackgroundWorke r in many WPF and WinForm apps, but this is the first time I've tried to use it in ASP.NET.
I've set the main page with the Async="True" attribute.
I've created the BackgroundWorke r with WorkerReportsPr ogress = false and WorkerSupportsC ancellation = false.
...
No activity results to display
Show More
Leave a comment: