Dears, I have a table like this in my Linq to sql class :
ID CL1 CL2 CL3 ... CL20
-- ---- ---- ----- ------
1 12 35 54 .... 44
2 11 35 78 ..... 75
data is not important in this example.
I need to access to each column with their index.
for example to reach data in CL3 like this:
var x = db.myTable.single(a=>a.ID==1)[3];
can anyone help me please?