P
Paperback Writer
Hi, i have this code
cboHoraIni.DataValueField = "COD_HORARIO";
cboHoraIni.DataTextField = "DSC_HORARIO";
cboHoraIni.DataSource = objAgenda.SEL_HORARIO(); //thats a ICollection method
cboHoraIni.DataBind();
cboHoraIni.Items.Add("--Selecione um horário--");
cboHoraIni.Items[cboHoraIni.Items.Count-1].Selected=true;
But i want the item that i added manually as the first item, before the binded!
How can i do that ?
Thanks
cboHoraIni.DataValueField = "COD_HORARIO";
cboHoraIni.DataTextField = "DSC_HORARIO";
cboHoraIni.DataSource = objAgenda.SEL_HORARIO(); //thats a ICollection method
cboHoraIni.DataBind();
cboHoraIni.Items.Add("--Selecione um horário--");
cboHoraIni.Items[cboHoraIni.Items.Count-1].Selected=true;
But i want the item that i added manually as the first item, before the binded!
How can i do that ?
Thanks