When you select an item in the listbox, and the postback occurs, use the listBox.SelectedIndexChanged event to do what you need. In this handler, you can run another SQL query to retrieve the data you want and write it to the text box. You could do this manually (call SQL, get value, write to textBox.Text), or with another databind.
Peter
|