I have an asp.net web app. The main thread starts a child thread which populates (at a high rate) a DataTable with random generated data. I keep the DataTable in the Application object.
I want to bind a gridview to this DataTable each time a new row is added to the table.
How can i accomplish this? How can the main Thread call DataBind on my GridView every time DataTable gets updated?
Thank you.