Export : Add Data Row: Object reference not set to an instance of an object

I tried reading multiple posts and solutions for this same error, but nothing rectified it. How do I correct this error? I will upload the xaml and


screenshots.



Main.xaml (18.8 KB)

Hi @Sowjanya_Satheesh ,

I believe the dataTable variable used is Empty or not initialised and hence the error.

Also, Would suggest to keep a different name for the datatable variable as it would also conflict with the Keyword DataTable.

Hi! Thank you for the response. The problem was overlapping name dataTable, I changes it and the problem is now solved. Thank you

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.