For example my keyword string is Address Number Description and I have a string to match which is
Address22 Number232 Description232 or Address’ss Numbers Descriptions or other combination.
Since Address Number Description is present the the ff.examples which is Address22 Number232 Description232 or Address’ss Numbers Descriptions contains the ff. strings Address Number Description it should return true.
But if for example the string to match is Addriss’ss Numburs Descriptionsss it should return false cause the strings are no longer present and its a wrong spelling already. Any idea thanks .
And it should be dynamic I just used Address Number Description as example. Thank you.
Use a For Each activity inside your For Each Row activity to loop through all columns. The TypeArgument for the For Each activity should be System.Data.DataColumn. Then you can access cell values for each column using row(col).
Is there a way @Srini84 that I will only check the first row column? and not everything ?!
for example I only wanted to check the first row column which are Order date , region , items unit , unit costs and total and dont include the other columns
Just remove the For Each Row activity and keep the For Each loop. If you have the option Add Headers checked in the Read Range activity, you can get the header name with col.ColumnName. If that option is unchecked you can read the first row using Dynamic_DT.Rows(0)(col).ToString
Yes, if you uncheck the option Add Headers in the Read Range activity you can read the first row with Dynamic_DT.Rows(0)(col). If not Dynamic_DT.Rows(0) will point to the second row on in your Excel sheet.