Are there any problems with the changing elements that will be displayed on the web page in the stream. I am from the Windows programming background, and obviously, if a thread needs to change the GUI, you must delegate it to the GUI thread.
Basically, my page uses 3 sql queries that can be run at the same time to get the page data. So I configure 3 threads and start them, if one of them does not work or has no entries, it makes the error message visible, currently it is done in the stream and it seems to work.
Note. 3 sql queries for very different data are by far the fastest to run 3 separate queries and run them at the same time, which makes it even faster (in terms of how long it takes to display the page).
Edit: Streams merged into page load event
PeteT source
share