By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,967 Members | 1,710 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,967 IT Pros & Developers. It's quick & easy.

Threading Ussue

P: n/a
I am new to dot net. The problem I am having now is that I would like a
thread to feed data from database to a arraylist at background and at the
same time I want to display the objects in the arraylist in a form.

The brief code is:

private ArrayList CustomerList;
public Form_Load(){

Thread loadThread = new Thread(new ThreadStart(Loaddata));
private void LoadData(){
//get customer objects from database and add them to arrayList
private void DisplayData(){
Customer c = (Customer)CustomerList[0];
However I got exception:"Error creating windows handler,

Can someone please point me what the problem is and how to get around it?
Thanks in Advance.
Nov 22 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Hi Paulg,

Although here are also C# people active, this is typical a question for the
newsgroup beneath and because it is weekend in the EU and US, I would try
it in that newsgroup also


I hope this helps you

Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.