Carlos kambui

Carlos kambui

  • NA
  • 499
  • 117k

Kindly assist to correct below codes

Aug 20 2017 10:10 AM
i want to group after selecting
For Each row As LabtransType In svcClient.GetLabtrans(MdlConn.checkDB, " ").GroupBy(Function(x) x.result_ref).ToList()
TvWaiter.Nodes(0).Nodes.Add(New TreeNode(row.result_ref))
Next 
 i got this error
Additional information: Unable to cast object of type 'Grouping[System.String,Hospital_dbms.LabtransType]' to type 'Hospital_dbms.LabtransType'.
kindly any one with idea assist please 

Answers (2)