Getting object reference error while Extracting data from website to data table

Hi , after running the assignment I am getting following exception system.nullreferenceexception:object reference not set to instance of object.

I am trying to extract name and phone from website and store it in datatable and later write it in csv.
Can you please help?

Solved!

I debug it. Found that my input dialog and datatable variable to store values was get removed.

3 Likes