Error in Ari Framework

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


image

@taruna.mehra

  1. Your If condition is not valid.
  2. What is the count of VarDT.Rows.Count?
  3. What exactly are you checking in if condition?

Its REFramework not Ari Framework

REFramework → Robotic Enterprise Framework

@taruna.mehra

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.