예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         Gardens.DataSource = new KindergardenQuery().Get();
         Gardens.DataBind();
     }
 }
예제 #2
0
        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();
            }
        }