protected void bindTarget(string contractId)
    {
        DataTable taskByContract = BudTask.GetTaskByContract(contractId);

        if (taskByContract != null && taskByContract.Rows.Count > 0)
        {
            this.lblTitlTarget.Text   = "控制指标";
            this.Repeater1.DataSource = taskByContract;
            this.Repeater1.DataBind();
        }
    }
Beispiel #2
0
 private void BindTaskByContract(string contractId)
 {
     this.gvBudget.DataSource = BudTask.GetTaskByContract(contractId);
     this.gvBudget.DataBind();
 }