I Have this scenario. I have DT, and I want to convert the value on the specific column from string to Decimal. it’s working fine if all the row is not empty, but it went to error when some row is empty.
I’m using invoke code to convert the row
dt.asenumerable.tolist.foreach(sub(row) row(Col)= CDec(row(Col)))