-- manejo de nueva columna de cvecolectiva, para asignación e cuentas
This commit is contained in:
@@ -9,21 +9,32 @@
|
||||
public partial class CATHuerta :ClsPaginas
|
||||
{
|
||||
|
||||
#region Propiedades
|
||||
private int CveHuerta
|
||||
{
|
||||
get{return (ViewState["CveHuerta"] == null) ? 0 : Convert.ToInt32(ViewState["CveHuerta"]);}
|
||||
set{ViewState["CveHuerta"] =value;}
|
||||
}
|
||||
|
||||
#endregion
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack){
|
||||
CargaProveedor();
|
||||
CargaHuerta();
|
||||
}
|
||||
}
|
||||
#region Propiedades
|
||||
private int CveHuerta
|
||||
{
|
||||
get{return (ViewState["CveHuerta"] == null) ? 0 : Convert.ToInt32(ViewState["CveHuerta"]);}
|
||||
set{ViewState["CveHuerta"] =value;}
|
||||
}
|
||||
|
||||
#endregion
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack){
|
||||
CargaProveedor();
|
||||
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()
|
||||
{
|
||||
using (ClsCGame ogame =new ClsCGame())
|
||||
|
||||
Reference in New Issue
Block a user