Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
private void btnCancelItemFuzzyMatch_Click(object sender, EventArgs e) { if (gvImportFile.RowCount < 1) return; WaitDialog.Show("Cancelling process ..."); CTImportList _item = gvImportFile.GetFocusedRow() as CTImportList; if (_item.fuzzy_match_status.Equals("Done")) { WaitDialog.Close(); return; } using (BrightPlatformEntities _efDbContext = new BrightPlatformEntities(UserSession.EntityConnection)) { _efDbContext.FICancelFuzzyMatch(_item.id); } gvImportFile.SetRowCellValue(gvImportFile.FocusedRowHandle, "fuzzy_match_status", string.Empty); alertControlSSISPackage.Show(this.ParentForm, "Bright Manager", "Fuzzy match cancelled."); WaitDialog.Close(); }