Ramco Ramco

Ramco Ramco

  • 443
  • 3.4k
  • 533.7k

Check for existence of value

May 2 2023 8:26 AM

Hi

  I have below loop for datatable. I want to save each column value . Then i want to check if it doesn't have value 'S' or 'D' in it.

For .e.g

            Col1               Col2                  Col3

             ND                  -                         B

               -                    -                          D

Since D exists in second row it should exit out of loop

In first row neither S nor D exists so i a varaible value should be stored as 'not found'

Thanks


Answers (2)