private void bindCatalog() { QJVRMS.Business.KeyWords obj = new QJVRMS.Business.KeyWords(); DataSet ds = obj.GetKeywordsByParentid(0); this.grvKeyCatalog.DataSource = ds.Tables[0].DefaultView; this.grvKeyCatalog.DataBind(); }
private void bind() { int parentId = Convert.ToInt32(this.hId.Value); QJVRMS.Business.KeyWords obj = new QJVRMS.Business.KeyWords(); DataSet ds = obj.GetKeywordsByParentid(parentId); this.rptKey.DataSource = ds.Tables[0].DefaultView; this.rptKey.DataBind(); }
private void bind() { int parentId = Convert.ToInt32(this.hId.Value); QJVRMS.Business.KeyWords obj = new QJVRMS.Business.KeyWords(); DataSet ds = obj.GetKeywordsByParentid(parentId); this.rptKey.DataSource = ds.Tables[0].DefaultView; this.rptKey.DataBind(); }