For an Edit User section of my application I have created a DataReader
that sets textbox.text values = objDataReader("field"). One of the
fields in the table is Department and to display this I have chosen to
use a dropdownlist. I have tried setting:
ddlDepartment.SelectedItem.Text = objDataReader("Department")
The departments are:
Administration - Value 1
Finance - Value 2
Engineering - Value 3
When I use the method above It simply replaced Administration with
whatever the user is saved as but the value still stays the same.
I know this sounds confusing but if needed I can elaborate.
- Will
---
"Our enemies are innovative and resourceful, and so are we. They never
stop thinking of ways to harm our country and our people, and neither do
we." President George W. Bush
*** Sent via Developersdex http://www.developersdex.com ***