Exception while inserting datatable into database using execute non query

uiautomation
activities

#1

Hello,

I am getting exception as “cannot create and populate list type System.data.sqlclient.sqlerrorcollection” while inserting datatable into database using execute non query activity.


#2

Hi there,

I will say just make sure the the Query and the Database Connection is correct, is better to check them manually.

Further more there is some posts on the forum of your issue.

and

Hope this helped!

Regards
Husain


#3

Hi, @vikram
For inserting datatable into database…
You can use insert Activity instead of Execute non query

Regards,