![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
26/04/2005, 08:20
|
![Avatar de Jose_minglein2](http://static.forosdelweb.com/customavatars/avatar79401_1.gif) | | | Fecha de Ingreso: noviembre-2004
Mensajes: 2.344
Antigüedad: 20 años, 3 meses Puntos: 8 | |
pues te pongo el codigo en VB porque en C# no se exacatamente la sintaxis, pero sería en el page_load
if not ispostback then (en c# creo que es if (!postback) o algo asi)
ComboClientes.ClearSelection();
ComboClientes.Items[0].Selected=True;
else
ComboClientes.ClearSelection();
ComboClientes.Items.FindByValue(ComboClientes.Item s[ComboClientes.Items.Count-1].ToString()).Selected=true;
end if |