LINQ to find a value in a column?

@aquinn

can you replace the column Name with index and try or

can you share the excel so that i will check from my end

Report.xlsx (333.7 KB)
Please see example using column A and P but this may change order

@aquinn

its working can you check it

As you can check

grafik

was accepted. Sometimes it helps to delete a valid statement which is not accepted and retype (typing not copy&paste) it again

1 Like

Can you please paste the LINQ in here so i can make sure it matches?

@aquinn

dt1.AsEnumerable.ToDictionary(Function(x) x(0).ToString.Trim,Function(r) r(“Available Physical Stock - Today”).ToString.Trim)

replace the dt1 with your datatable variable

I still get this

@aquinn

please type the code dont copy and paste it

can you share the syntax which you have used

1 Like

Wow i typed it out manually and it works now… Thank you so much !

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.