Hello,
I have a data grid that shows search results from a rather large database. What i want to do is to provide a msgbox prompt so that after a certain amount of time has expired (running the search) the user is given the option of terminating the search. How would i do this?
This is not an issue with the commandTimeout of the sql. The dataset is being populated in very little time, however binding the results to the datagrid can take a long time.
I have had a few testers with using a timer to monitor the time elapsed, but i cant get it to work as the populating of the datagrid seems to prevent the timer from ticking. Please, this is driving me mad, it must be a common problem but i cant see how to fix it.
Any help would be great.
I have a data grid that shows search results from a rather large database. What i want to do is to provide a msgbox prompt so that after a certain amount of time has expired (running the search) the user is given the option of terminating the search. How would i do this?
This is not an issue with the commandTimeout of the sql. The dataset is being populated in very little time, however binding the results to the datagrid can take a long time.
I have had a few testers with using a timer to monitor the time elapsed, but i cant get it to work as the populating of the datagrid seems to prevent the timer from ticking. Please, this is driving me mad, it must be a common problem but i cant see how to fix it.
Any help would be great.