column order is coming wrong while binding in infragistic ultragrid vb.net
-
Hi, i am using infragistics ultragrid to display the record with the help of following query
Dim query = From p In BaseClassDataContext.GetTable(Of CP_Project)() _
Group Join crt In BaseClassDataContext.GetTable(Of CP_CLM_ClientRating)() _
On p.RatingID Equals crt.RatingID Into ratingname = Group From c In ratingname.DefaultIfEmpty() _
Group Join cname In BaseClassDataContext.GetTable(Of CP_CLM_Client)() _
On cname.ClientID Equals p.ClientID Into clientname = Group From c1 In clientname.DefaultIfEmpty() _
Group Join pstatus In BaseClassDataContext.GetTable(Of CP_PRJ_ProjectStatus)() _
On pstatus.ProjectStatusID Equals p.ProjectStatusID Into projectstatus = Group From c2 In projectstatus.DefaultIfEmpty() _
Group Join pjtype In BaseClassDataContext.GetTable(Of CP_PRJ_ProductType)() _
On pjtype.ProductTypeID Equals p.ProductTypeID Into pj = Group From projecttype In pj.DefaultIfEmpty() _
Select c.Rating, p.ProjectName, c1.ClientName, p.StartDate, p.DeliveryDate, c2.ProjectStatus, _
p.ProjectID, c.RatingColor, projecttype.ProductTypein vb.net window application. after binding the colown order was totally different clientname , deliverydate ,producttype , projectid , projectname , projectstatus , projectrating , colorrating , startdate this is actually not required. can u help me ?
-
Hi, i am using infragistics ultragrid to display the record with the help of following query
Dim query = From p In BaseClassDataContext.GetTable(Of CP_Project)() _
Group Join crt In BaseClassDataContext.GetTable(Of CP_CLM_ClientRating)() _
On p.RatingID Equals crt.RatingID Into ratingname = Group From c In ratingname.DefaultIfEmpty() _
Group Join cname In BaseClassDataContext.GetTable(Of CP_CLM_Client)() _
On cname.ClientID Equals p.ClientID Into clientname = Group From c1 In clientname.DefaultIfEmpty() _
Group Join pstatus In BaseClassDataContext.GetTable(Of CP_PRJ_ProjectStatus)() _
On pstatus.ProjectStatusID Equals p.ProjectStatusID Into projectstatus = Group From c2 In projectstatus.DefaultIfEmpty() _
Group Join pjtype In BaseClassDataContext.GetTable(Of CP_PRJ_ProductType)() _
On pjtype.ProductTypeID Equals p.ProductTypeID Into pj = Group From projecttype In pj.DefaultIfEmpty() _
Select c.Rating, p.ProjectName, c1.ClientName, p.StartDate, p.DeliveryDate, c2.ProjectStatus, _
p.ProjectID, c.RatingColor, projecttype.ProductTypein vb.net window application. after binding the colown order was totally different clientname , deliverydate ,producttype , projectid , projectname , projectstatus , projectrating , colorrating , startdate this is actually not required. can u help me ?
-
sir , i know that , but instead of making fun of the issue , May we sort out it's solution. Regards
I'm not making fun of the issue. I'm telling you that the answer is there. If you have a problem with the answer, then post the followup on that thread - don't create a new one because: a. It looks like you haven't read the replies to the original post. b. Other people use these forums to find the answers to problems, so if you split your thread up it makes it almost impossible for them to find the answer. c. It looks like you're trying to bump your post to the top.
Deja View - the feeling that you've seen this post before.