private void viewunderproductioncs_Load(object sender, EventArgs e) { if (!BGworker.IsBusy) { RetriveTableData TObj = new RetriveTableData(); DGview.Rows.Clear(); BGworker.RunWorkerAsync(TObj); } }
private void Viewtoolingisseu_Load(object sender, EventArgs e) { if (!BGworker.IsBusy) { RetriveTableData TObj = new RetriveTableData(); //SELECT * FROM ToolingReturnedhistory WHERE ToolingIssue_Yes = 'Yes' DGview.Rows.Clear(); BGworker.RunWorkerAsync(TObj); } }