예제 #1
0
 void CboEmpleado_SelectedIndexChanged(object sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
 {
     if (CboEmpleado.SelectedValue != "")
     {
         string Dpi = ClUsuario.Get_DpiEmplINAB(Convert.ToInt32(CboEmpleado.SelectedValue)).ToString();
         TxtDpi.Text = Dpi.Substring(0, 4) + "-" + Dpi.Substring(4, 5) + "-" + Dpi.Substring(9, 4);
         CargaDatosEmpl(Convert.ToInt32(CboEmpleado.SelectedValue));
     }
     else
     {
         Limpiar();
     }
 }