I have an easy client server application where the server handles clients with a new thread. I want to save some data from the client in a SQL server DB. Connection and inserts to DB are done with a DataTableAdapter and works fine when invoked from server. When I try to invoke the same method from the client thread I get a cross thread error.
Anyone who knows how to work around this?
Anyone who knows how to work around this?