Error: Operation is not valid due to the current state of the object

Hey Guys,

Attaching the screenshot. Do let me know if you have any idea about this error and if there is any possible solution.

1 Like

hello @Shruti_Shree
give more details, please so i solved this issue

1 Like

Hi @Shruti_Shree

I think you are trying to use Add data row so while specifying ArrayRow please convert it to ItemArray. Please use this syntax (Name, Email, Address,β€œβ€).ItemArray.

Regards,
Vijay.

HI @Shruti_Shree

You are using the normal brackets. Use the curly bracket β€œ{ }” when mentioning your variable array.
Ex:
{ Name, Address, Phone, β€œβ€ }
or else, If you are using the normal bracket " ( ) " then use as explained in @Vijay_Kumar_C’s post

2 Likes

Thanks @Lahiru.Fernando for the solution!

Glad to hear… If it worked, please mark the appropriate answer as the solution too…

Thank you!

1 Like

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