//Get Branch Count public DataTable GetRowCountForTempBranchTempTable() { try { DataTable dt = bd.GetRowCountForTempBranchTempTable(); return(dt); } catch (Exception ex) { MessageBox.Show(ex.Message); throw; } }