Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
745
How to bind Relational Dataset to the UltraWebGrid
posted

hi evrybody,

i want to bind a dataset which is having a relation..i did some code but it is not working..please suggest the answer

below i am giving my code

 

 

 

 

 

 

GlobalDs.Relations.Add(

 

"CSV_SKU"

,

GlobalDs.Tables[

 

"csvData"].Columns["SrNo"

],

GlobalDs.Tables[

 

"skuno"].Columns["SrNo"

]);

 

 

this

.UltraWebGrid1.DataSource = GlobalDs;

 

 

this.UltraWebGrid1.DataMember = "CSV_SKU"

;

 

 

this

.UltraWebGrid1.DataBind();

 

Regards

Naag