private void TableLoadRowLock() { var BE = new tb_t1_cajaconcepto(); var BL = new tb_t1_cajaconceptoBL(); var dt = new DataTable(); BE.filtro = "1"; dt = BL.GetOne(EmpresaID, BE).Tables[0]; if (Tablabloqueo != null) { Tablabloqueo.Clear(); } for (var i = 0; i < dt.Rows.Count; i++) { row = Tablabloqueo.NewRow(); row["fila"] = dt.Rows[i][0].ToString(); Tablabloqueo.Rows.Add(row); } }
private DataTable _CargarDetalle() { var BL = new tb_t1_cajaconceptoBL(); var BE = new tb_t1_cajaconcepto(); BE.filtro = "1"; TablaLiquidacion = BL.GetAll(EmpresaID, BE).Tables[0]; return TablaLiquidacion; }