I am trying to perform string operations on a rowitem selected using Foreach loop for Datatable. But it throws exception saying generic .Net error message “Object Reference Not set to an instance of object”.\
** I am doing MS Excel file reading operations **
I have already tried changing object type/variable type, but its a waste.
Thanks in advance!