Linq QueryRelated

Need to delete the empty column in the data table “dt_value” variable and pick the end cell value from the data table “dt_value”. Request fr a linq query to get the value as i tried a lot in it.


So i need to pick the value 123 from that unstructured sheet and column names are unknown and even initial columns will be deleted while processing

@Rahul_Maddy

check the reference thread

Hi @Rahul_Maddy

Can you please provide some sample input and output, meanwhile try the below code

DT.AsEnumerable().Last().Field(Of String)("Column")

Cheers!!

would it be possible to share your Input Data once… a kind of Image of your Input Data

I Updated the question with the image of my data table

@Rahul_Maddy

Try this

DT.AsEnumerable().Last().Field(Of Double)(3)

Cheers!!