View Single Post
  #2 (permalink)  
Old 07-03-2008, 04:03 PM
Pancrazio Pancrazio is offline
Newbie
 
Join Date: Jun 2008
Posts: 17
Credits: 0
Rep Power: 2
Pancrazio is on a distinguished road
Default Re: C# database pull problem

I never used datasets and table adapters but readers instead, so don't blame me for getting it wrong.
But I think you mean a listbox and not a dropdown list. If I'm getting it right you're trying to achieve a change in your textboxes on a change of the selected value in the listbox?

So I think this shouldn't be empty:
private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
{

}

Maybe you would like to put something in there instead of in 'private void button1_Click'?
Reply With Quote