Hi,
am receiving this below error when am doing ari framework. Sharing my Xaml. Please advise.

Its REFramework not Ari Framework
REFramework → Robotic Enterprise Framework
Before that If condition put one Message Box and print the below value.
VarDT.Rows.Count
If it is throwing any error like Object reference not set to an instance of an object then check whether DataTable holds any rows or not. I suggest you to run it in Debug mode and check values.
Ok thanks my issue has sorted. I mentioned wrong variable in Int.