4
Answers

Cross- thread operation not valid

Arnold Petrona

Arnold Petrona

14y
9.6k
1

I have a snmp function regarding trap. When something worng happen it has to give me a trap.

Now i test it and it give me at this sentence : datagridview3.Rows.Add ( s.V1remoteipaddress , s.Version, s.V1Enterprise, s.V1GenericTrap.ToString());

the following error message : Cross-thread operation not valid: "Control" accessed ftrom a thread other than the thread it was created on.


Answers (4)