private void BtnBuscarOrdenCompra_Click(object sender, EventArgs e) { if (TxtOrdenCompra.Text != "") { DataTable Dt = new DataTable(); Dt = ObjCL_OrdenCompra.GetOCPorProductos(TxtOrdenCompra.Text, AppSettings.EmpresaID + AppSettings.SedeID); TdgListaProductos.SetDataBinding(Dt, "", true); } }
private void FrmListaProductos_Load(object sender, EventArgs e) { TdgListaProductos.SetDataBinding(Ventas8.DtProductos, "", true); }