Hi,
Using VSTO VS 2019 for excel addin development
I have populated DataTable using an API but i'm not able to bind the list object to data-table to display data on excel
I get error "Object reference not set to an instance of an object"
My code snippet
Error line
this.jiraIssueListObject.AutoSetDataBoundColumnHeaders = true;
this.jiraIssueListObject.SetDataBinding(dtIssueList);
//Excel Variables
System.Windows.Forms.BindingSource jiraIssueBindingSource;
private Microsoft.Office.Tools.Excel.ListObject jiraIssueListObject;
Reference link
Any help will be highly appreciated.
thanks