private void bind() { Maticsoft.BLL.FuWuTypeInfo fuwubll = new Maticsoft.BLL.FuWuTypeInfo(); DataSet fuwuds = fuwubll.GetAllList(); dtlstfuwu.DataSource = fuwuds; dtlstfuwu.DataBind(); Maticsoft.BLL.NewsTypeInfo newsbll = new Maticsoft.BLL.NewsTypeInfo(); DataSet newsds = newsbll.GetAllList(); dtlistNews.DataSource = newsds; dtlistNews.DataBind(); Maticsoft.BLL.NicheTypeInfo nichebll = new Maticsoft.BLL.NicheTypeInfo(); DataSet nicheds = nichebll.GetAllList(); drpNiche.DataSource = nicheds; drpNiche.DataBind(); Maticsoft.BLL.ProductType probll = new Maticsoft.BLL.ProductType(); DataSet prods = probll.GetAllList(); drpxing.DataSource = prods; drpxing.DataTextField = "ProTypeTitle"; drpxing.DataValueField = "ProTypeID"; drpxing.DataBind(); }
private void bind() { Maticsoft.BLL.ProductType typebll = new Maticsoft.BLL.ProductType(); DataSet ds = typebll.GetAllList(); DrpProTypeTitle.DataSource = ds; DrpProTypeTitle.DataTextField = "ProTypeTitle"; DrpProTypeTitle.DataValueField = "ProTypeID"; DrpProTypeTitle.DataBind(); }
private void drpbind() { Maticsoft.BLL.ProductType typebll = new Maticsoft.BLL.ProductType(); DataSet typeds = typebll.GetAllList(); drpaddtypehao.DataSource = typeds; drpaddtypehao.DataTextField = "ProTypeTitle"; drpaddtypehao.DataValueField = "ProTypeID"; drpaddtypehao.DataBind(); }