protected void fLayoutDescription_OnLoad(object sender, EventArgs e) { int month = Convert.ToInt32(Session[Constants.SessionVariables.NameParamMonth]); int year = Convert.ToInt32(Session[Constants.SessionVariables.NameParamYear]); int idFond = Convert.ToInt32(Session["IdFondNmaCardIndex"]); var a = new CardIndexActions(); fLayoutDescription.DataSource = a.GetCardIndexInfo(month, year, idFond); fLayoutDescription.DataBind(); }
protected void gridCardIndexCost_OnInit(object sender, EventArgs e) { int month = Convert.ToInt32(Session[Constants.SessionVariables.NameParamMonth]); int year = Convert.ToInt32(Session[Constants.SessionVariables.NameParamYear]); int idFond = Convert.ToInt32(Session["IdFondNmaCardIndex"]); var cardIndexAction = new CardIndexActions(); gridCardIndexCost.DataSource = cardIndexAction.GetCardIndexCost(month, year, idFond); gridCardIndexCost.DataBind(); }