rajan pawar

rajan pawar

  • NA
  • 4
  • 6.4k

how to bind data of selected item in listbox to different controls of form

Jul 2 2011 5:00 PM
hello, I am developing a ado.net windows app with c# and sql 2005. I have 1 listbox. Listbox is bound to the tour table of database. On click event of 'Edit' button a dilogue box opens with controls such as tour name,min people,max people,unit price etc. It should contain specific information related to the tour name which is selected in listbox. I tried to bind the dilogue box with database. But it shows only first row of table. Please help...

Answers (3)