What is the variable type of in_TransactionItem?? You can yse onky string variable inside the regex expression …
I think the variable type of in_TransactionItem is datarow that is why u are fetting this error
in_TransactionItem variable is Datarow only. how to convert that into string with out getting any error.
If it is a datarow which value from it you want to put to regex…for example the value of first column, second etc…
in_TransactionItem(0).ToString. Will give you the first value.
I want in_TransactionItem(0).ToString
Have you verified that value? If not ptint it in a message box and check.
If verified you can use that value in the regex expression.
Thank you for the solution
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.