Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

refresh listbox bound to datasource

$
0
0

hey folks. i read on another post that simply calling the Fill method should do this. but it isn't working for me. I have it running in a timer. can anybody help me with this? here is my code:

 

privatevoid timer1_Tick(object sender, EventArgs e)

{

notesTableAdapter.Fill(

this.dataSet1.Notes);

listBox1.Refresh();

}


Viewing all articles
Browse latest Browse all 12583

Latest Images

Trending Articles



Latest Images