Author: Bharathinathan | Posted on: 7/21/2009 8:48:09 AM | Views : 1049

Iam trying to implement threading in my code.
wo that when when a lengthy operation is started the user can still do other stuff in the website.



My code.

protected void ButtonRun_Click(object sender, EventArgs e)
    {
        System.Threading.Thread T = new System.Threading.Thread(new System.Threading.ThreadStart(Start));

        T.Start();
        T.IsBackground = true;
    }
 
protected void Start()
    {

        LocalReport localReport = new LocalReport();
        localReport.ReportPath = "";
        localReport.ReportPath = ReportPath;

        l ...

Go to the complete details ...