开发者

Infragistics Hierarchical databind in web application

开发者 https://www.devze.com 2022-12-22 06:10 出处:网络
Hi We have to bind the data in web infragist开发者_如何转开发ics hiergrical control. so we need some code snipetYou need to instantiate 2 or more data sources and then add relationships and add the pr

Hi We have to bind the data in web infragist开发者_如何转开发ics hiergrical control. so we need some code snipet


You need to instantiate 2 or more data sources and then add relationships and add the primary datasource to the WebGrid:

                dataset.Relations.Add("Flags", this.dataset.Tables[0].Columns["ParticipantID"], this.dsParticipants.Tables[1].Columns["ParticipantID"]);
            this.uwgParticipants.DataSource = ds.Table[0];
            Session["data"] = ds.Table[0];
            this.uwgParticipants.DataBind();
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号