In my WPF application,
When user click on the export button,I am exporting large data to the .CSV file.
for this process i am using backgroundworker. Here its exporting fine and its take long time.
At the same time i need to update Progress Bar.
For this reason,i need a solution like.
In the background worker, we need to use two stored prcedures.
1.for getting the result.(Main stored procedure).
here we are using cmd.executereader for reading and writing to the .csv file.
2.we will get status from another stored procedure.
my problem is how can we run both the stored procedures at the same time in background.
one stored procedure for execution and another stored procedure for update the progress bar.
Please let me know how can proceed with this.