2
Answers

Check for existence of value

Ramco Ramco

Ramco Ramco

1y
450
1

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)