TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jason
NA
31
0
Trying to use task.factory on a method
Sep 19 2011 9:55 AM
I'm trying to keep the main UI from locking up while I do a DB lookup in the background. I'm assuming this can be done with threading. I tried this Task.Factory.StartNew(()=>Method(string,string,string) but I get a message about crossthreading because the method is getting the value of a combo box. How do I avoid this?
Reply
Answers (
5
)
Future Date
C# references