LINQ for Objects Modifying Display Column
hope some can help -
my webservice returns an object with specific fields i use ling to object to display the screen and then bind the anonymous type to the grid. is there any way to make a similar choice to change the display of the grid column?
eg
Dim wsr As wsTest.Service = New wsTest.Service
Dim objs() As wsTest.Person
objs = wsr.GetPersons
Dim q = From a In objs _
Select a.Manifest, a.Id
Me.DataGridView1.DataSource = q.ToArray
I want to change it so that I get "select a.manifest as" newID ", a.id as" Identifier "
thanks
0
azad
a source
to share