/// <summary> /// VIEWSTATE PARA VARIABLES GLOBALES /// </summary> private void Establecer_Globales() { try { ViewState["GlobalesObjeto"] = new GlobalesObjeto(); } catch { throw; } }
/// <summary> /// VIEWSTATE PARA VARIABLES GLOBALES /// </summary> private GlobalesObjeto V_Global() { GlobalesObjeto item = new GlobalesObjeto(); try { item = (GlobalesObjeto)ViewState["GlobalesObjeto"] ?? null; return(item); } catch { return(item); } }