public void BindGv() { DataTable allTask = BudContractTask.GetAllTask(this.prjId, string.Empty, string.Empty, string.Empty); this.gvBudget.DataSource = allTask; this.gvBudget.DataBind(); }
public void BindGv() { if (this.month.Length == 1) { this.month = this.month.PadLeft(2, '0'); } BudContractTask.GetTaskInfo(this.prjId, this.type, this.year, this.month); DataTable allTask = BudContractTask.GetAllTask(this.prjId, this.type, this.year, this.month); this.gvBudget.DataSource = allTask; this.gvBudget.DataBind(); }