private void BindChildBudgetList(int parentId) { StringBuilder sb = new StringBuilder(); sb.Append(" 1=1 "); sb.Append(" and parentId= "); sb.Append(parentId); DataTable DT = new DataTable(); DT = new COMMON.common().GetDatePaging(pageSize, int.Parse(nowPaging), "vBudget_Child_Detail", "*", "ID", sb.ToString(), "", "", ""); this.GridView2.DataSource = DT; this.GridView2.DataBind(); }