10.04.2019 Views

Ejercicios de programación .net (nivel inicial)

Se muestra el funcionamiento de los conceptos básicos para programar en .net

Se muestra el funcionamiento de los conceptos básicos para programar en .net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

'CODIGO DE PROVINCIAS<br />

If prov = 1 Then TextBox2.Text = " La Provincia es: AZUAY"<br />

If prov = 2 Then TextBox2.Text = " La Provincia es: BOLIVAR"<br />

If prov = 3 Then TextBox2.Text = " La Provincia es: CAÑAR"<br />

If prov = 4 Then TextBox2.Text = " La Provincia es: CARCHI"<br />

If prov = 4 Then TextBox2.Text = " La Provincia es: CARCHI"<br />

If prov = 5 Then TextBox2.Text = " La Provincia es: COTOPAXI"<br />

If prov = 6 Then TextBox2.Text = " La Provincia es: CHIMBORAZO"<br />

If prov = 7 Then TextBox2.Text = " La Provincia es: EL ORO"<br />

If prov = 8 Then TextBox2.Text = " La Provincia es: ESMERALDAS"<br />

If prov = 9 Then TextBox2.Text = " La Provincia es: GUAYAS"<br />

If prov = 10 Then TextBox2.Text = " La Provincia es: IMBABURA"<br />

If prov = 11 Then TextBox2.Text = " La Provincia es: LOJA"<br />

If prov = 12 Then TextBox2.Text = " La Provincia es: LOS RIOS"<br />

If prov = 13 Then TextBox2.Text = " La Provincia es: MANABÍ"<br />

If prov = 14 Then TextBox2.Text = " La Provincia es: MORONA<br />

SANTIAGO"<br />

If prov = 15 Then TextBox2.Text = " La Provincia es: NAPO"<br />

If prov = 16 Then TextBox2.Text = " La Provincia es: PASTAZA"<br />

If prov = 17 Then TextBox2.Text = " La Provincia es: PICHINCHA"<br />

If prov = 18 Then TextBox2.Text = " La Provincia es:<br />

TUNGURAHUA"<br />

If prov = 19 Then TextBox2.Text = " La Provincia es: ZAMORA<br />

CHINCHIPE"<br />

If prov = 20 Then TextBox2.Text = " La Provincia es: GALAPAGOS"<br />

If prov = 21 Then TextBox2.Text = " La Provincia es: SUCUMBIOS"<br />

If prov = 22 Then TextBox2.Text = " La Provincia es: ORELLANA"<br />

If prov = 23 Then TextBox2.Text = " La Provincia es: Santo<br />

Domingo <strong>de</strong> los Tsachilas"<br />

If prov = 24 Then TextBox2.Text = " La Provincia es: SANTA<br />

ELENA"<br />

Else<br />

MsgBox("Cédula no Valida")<br />

TextBox1.Text = ""<br />

TextBox1.Focus()<br />

End If<br />

End If<br />

End Sub<br />

End Class<br />

Leonel Navarrete

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!