This commit is contained in:
JORGE LUIS CAUDILLO ESPARZA
2023-03-04 09:03:53 -07:00
parent e4cdea8b63
commit c45610ed89
6 changed files with 217 additions and 175 deletions

View File

@@ -21,8 +21,19 @@
{
if (!IsPostBack){
CargaProveedor();
CargaHuerta();
}
CargaHuerta();
}
}
protected void CargaHuerta()
{
ClsCGame ObjHuer =new ClsCGame();
if (ObjHuer.GetHuerta(UsuarioActual.CveEmpresa))
{
GVHuerta.DataSource = ObjHuer.DtResultados;
GVHuerta.DataBind();
}
ObjHuer.Dispose();
upDatosHuer.Update();
}
protected void CargaProveedor()
{
@@ -47,12 +58,12 @@
TxtCostoXTonelada.Text = "";
DdlProveedor.SelectedIndex = 0;
if (DdlProveedor.Items.Count > 2)
}
{
DdlProveedor.SelectedIndex = 2;
}
DdlTipoCobro.SelectedIndex = 0;
UPModalHuer.Update();
{
}
protected void LnkEditarHuer_Click(object sender, EventArgs e)
{
LimpiaHuerta();