Infragistics Hierarchical databind in web application
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();
精彩评论