4
Reply

Cross- thread operation not valid

Arnold Petrona

Arnold Petrona

Jul 25 2008 3:14 PM
9.6k

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)