Create a new List like the following and add it into that new list or convert it to a new list with the needed class
List<userDetails> newList = new List<userDetails>();
//To add looping throught the results to an individual item:
newList.Add(YourResultItem)
//If you can convert it it would be better.
No comments:
Post a Comment