I am working in a datatable having 3 different scenarios,
- I need to find Id Value = 2
- I need to find Id Value = 1
- I need to find Id Value = Null
I tired using the code : dt.Rows(dt.Rows.Count-1)(0).ToString but it’s reading the entire datatable and each time my output is coming as Null, the value from 3rd row.
Any help or Xaml will be appreciated.