This is my excel data, i want to extract that “5454” value using “Total add on” row…
Using this query:
InputDT.AsEnumerable().Where(Function(x) x(0).ToString.ToUpper.TrimEnd.TrimStart.Contains("Total add on")).Select(Function(y) y)(0)(2).tostring.trimend.trimstart
But its giving me this error: Message Box: Object reference not set to an instance of an object.