
September 12th, 2003, 10:12 AM
|
|
Contributing User
|
|
Join Date: May 2003
Location: Pennsylvania
Posts: 30
Time spent in forums: < 1 sec
Reputation Power: 7
|
|
Combobox
using vb.net
I have a combox populated from a database when the form is loaded I have a datagrid on the form that is populated from several databases I have a edit function which the values from the datagris populate several text boxs How do I get the value of the selected row to be displayed on the combox? i.e.
txtEmail.Text = DataGrid1(DataGrid1.CurrentCell.RowNumber, 10).ToString
will display the e-mail address from the datagrid to the form
If I place a textbox on the form I can get the valud from the datagrid but I can't seem to display that value on the dropdown combox..Any examples would be very helpful
|