This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user