Datatable throwing error empty

Hi Friends,
This is my first post
Where I am doing some excel operation where if an excel is empty my datatable throwing an error

Any help would be appreciated

hi @Prapanjan_B
welcome to community

this error means you havent initialized your datatable
so please initialize

Dt = New system.data.datatable

1 Like

Thanks @nikhil.girish for your response will check this

No problem :slight_smile:
@Prapanjan_B

happy automation

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