//FIN PERMISOS private void CargarReclamos() { try { BLL.Tables.RECLAMOFACTURASINCARGAR _re = new BLL.Tables.RECLAMOFACTURASINCARGAR(); _re.OrderByParameter.Add(DAL.Tables.RECLAMOFACTURASINCARGAR.ColumnEnum.fechaReclamo); this.bindingSourceReclamo.DataSource = _re.ItemList(); } catch (Exception ex) { MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void TraeHistorial(string _proveed) { try { this.dataGridViewHistorial.AutoGenerateColumns = false; BLL.Tables.RECLAMOFACTURASINCARGAR _hist = new BLL.Tables.RECLAMOFACTURASINCARGAR(); _hist.WhereParameter.Add(DAL.Tables.RECLAMOFACTURASINCARGAR.ColumnEnum.cco_CodPro, DAL.SqlEnums.OperandEnum.Equal, _proveed); this.dataGridViewHistorial.DataSource = _hist.ItemList(); this.dataGridViewHistorial.ClearSelection(); } catch (Exception ex) { MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }