Beispiel #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Session["InlineEditDataSource"] = null;
            }

            this.cmb_dep.DataSource = CDep.GetDep();

            FNGET();
            Session["InlineEditDataSource"] = order;
        }
Beispiel #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.QueryString["ST"] != null && Request.QueryString["EN"] != null)
                {
                    lbl_DateEn.Text   = Request.QueryString["EN"].ToString();
                    lbl_DateSt.Text   = Request.QueryString["ST"].ToString();
                    datePicker.Value  = Convert.ToDateTime(lbl_DateEn.Text);
                    datePicker1.Value = Convert.ToDateTime(lbl_DateSt.Text);
                }
            }

            this.cmb_dep.DataSource = CDep.GetDep();

            TaskDetailsCollection TasksCollection = new TaskDetailsCollection();

            this.TreeGridControlDefault.DataSource = TasksCollection.GetData2(cmb_dep.Text, lbl_DateSt.Text, lbl_DateEn.Text);
            this.TreeGridControlDefault.DataBind();
            //Columns = this.TreeGridControlDefault.Columns;
            //TreeGridColumn column = Columns[0];
        }