Dears,
I have the following case to be done using threading:
my ASP.Net page would have a datagrid with checkbox column for each row {this is done already}.
every row has (TableNAme Column), (WhereCondition Column) and (ID Column)
the page would have 2 buttons, START and STOP
Now, i have to check 1 or many rows from the datagrid and then click the start button to start a THREAD for each row, this thread will access the TableNAme based on the WhereCondition available in the selected row and collect the result and do some functionality {using SQL server}.
My Question is, HOW TO RUN separated threads, each with different parameters and after starting the thread i can stop it by selecting its row from the datagrid again and click the STOP button
Please any response on this, sample code or references will be highly appreciated.
Thank You
I have the following case to be done using threading:
my ASP.Net page would have a datagrid with checkbox column for each row {this is done already}.
every row has (TableNAme Column), (WhereCondition Column) and (ID Column)
the page would have 2 buttons, START and STOP
Now, i have to check 1 or many rows from the datagrid and then click the start button to start a THREAD for each row, this thread will access the TableNAme based on the WhereCondition available in the selected row and collect the result and do some functionality {using SQL server}.
My Question is, HOW TO RUN separated threads, each with different parameters and after starting the thread i can stop it by selecting its row from the datagrid again and click the STOP button
Please any response on this, sample code or references will be highly appreciated.
Thank You