hi
i have a drpo-down and the data of it come from a table in database:
this is the bind code:
private void BinddrSubsystem()
{
DataTable tblSubSystem = new Management.BussinesLogic.BL_Issue().Select_SubSystemByAuthority(0, this.UserId);
drSusSystemType.DataSource = tblSubSystem;
drSusSystemType.DataTextField = tblSubSystem.Columns["ListSubSystemType_Title"].ToString();
drSusSystemType.DataValueField = tblSubSystem.Columns["ListSubSystemType_ID"].ToString();
drSusSystemType.DataBind();
}
i want to display the text of the selected item in dropdown in a textbox.
what should i write?
when i write:
textbox1.text=drSubsystem.SelectedValue.ToString()
inthe textbox i see the ID not the text
...
Go to the complete details ...