protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { Gardens.DataSource = new KindergardenQuery().Get(); Gardens.DataBind(); } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { Gardens.DataSource = new KindergardenQuery().Get(); Gardens.DataBind(); Types.DataSource = EnumUtils.GetDescriptions(typeof(ActivityTypes)); Types.DataBind(); } }