Exemplo n.º 1
0
        private void BindGrid()
        {
            var data = XMInstallationListService.getInstallationFinish(-1, -1, "", "", "");

            Store1.DataSource = data;
            Store1.DataBind();
        }
Exemplo n.º 2
0
        protected void btnSearch_Click(object sender, EventArgs e)
        {
            int    projectID = Convert.ToInt32(this.ddXMProject.Value.ToString().Trim());
            int    nickID    = Convert.ToInt32(this.ddlNick2.Value.ToString());//店铺
            string worker    = txtWork.Text.Trim();
            string start     = txtCreateDateBegin.Value.Trim();
            string end       = txtCreateDateEnd.Value.Trim();
            var    data      = XMInstallationListService.getInstallationFinish(projectID, nickID, start, end, worker);

            Store1.DataSource = data;
            Store1.DataBind();
            this.BindddXMProject();//项目
            BindNick();
            ddXMProject.Value = projectID.ToString();
            ddlNick2.Value    = nickID.ToString();
        }