Hi All,
Why can’t I assign nothing to Transaction Item (DataRow type) new version?
I have deleted Nothing value and created it again, but it still did not work.
Was it me or the studio?
Hi All,
Why can’t I assign nothing to Transaction Item (DataRow type) new version?
I have deleted Nothing value and created it again, but it still did not work.
Was it me or the studio?
In the new UiPath Studio versions, Nothing is treated as System.Object, so it cannot be assigned directly to a DataRow variable. Use a typed-Nothing instead: TransactionItem = DirectCast(Nothing, DataRow)
This creates a DataRow-typed null reference and you will not get error.
Thank you! @MohammedShabbir
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.