Quick Question, I hope, is there a way to Select from a Select in LINQ?
Combine two operations in one, rather than one step following another?
Just so I can read data from a DGV, but name the fields with simple aliases so that I can then clearly do the complicated bits with simple field names... i.e.
Code:
' Get data from long-winded row.Cells() into nice short names
Dim FirstGo = From row As DataGridViewRow In DataGridView1.Rows _
              Select Field1= CDec(row.Cells("A Column").Value) ' etc
' Now do what we need with nice short names
Dim Refined = From .. FirstGo.. ' and use Where/Select using nice short Field1 name
It's not all that important, but I'd be interested to know if it can be done. Googling hasn't thrown up anything like it, so I suspect I'm asking for too much
Thanks