30.04.2013 Views

1. Visual Basic - Curso completo teoria y practica

1. Visual Basic - Curso completo teoria y practica

1. Visual Basic - Curso completo teoria y practica

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

De<strong>Curso</strong>sLibres.rsCm<strong>Curso</strong>.MoveFirst<br />

End Function<br />

Private Function CmdAnterior_onclick() As Boolean<br />

De<strong>Curso</strong>sLibres.rsCm<strong>Curso</strong>.MovePrevious<br />

If De<strong>Curso</strong>sLibres.rsCm<strong>Curso</strong>.BOF Then<br />

De<strong>Curso</strong>sLibres.rsCm<strong>Curso</strong>.MoveFirst<br />

End If<br />

End Function<br />

Private Function CmdSiguiente_onclick() As Boolean<br />

De<strong>Curso</strong>sLibres.rsCm<strong>Curso</strong>.MoveNext<br />

If De<strong>Curso</strong>sLibres.rsCm<strong>Curso</strong>.EOF Then<br />

De<strong>Curso</strong>sLibres.rsCm<strong>Curso</strong>.MoveLast<br />

End If<br />

End Function<br />

Private Function CmdUltimo_onclick() As Boolean<br />

De<strong>Curso</strong>sLibres.rsCm<strong>Curso</strong>.MoveLast<br />

End Function<br />

Finalmente, guarde y pruebe su aplicación.<br />

Aplicación Nº 3<br />

Diseñar una aplicación que permita cargar en una tabla<br />

HTML el contenido de la tabla <strong>Curso</strong>. La tabla HTML se debe<br />

crear dinámicamente de acuerdo al número de registros<br />

existentes.<br />

Para desarrollar nuestra aplicación, añada una nueva<br />

página DHTML al proyecto anterior. Para ello seleccione el menú<br />

Proyecto y elija la opción Agregar DHTML Page. En seguida<br />

proceda a ingresar el siguiente código:<br />

Dim ColBind As BindingCollection<br />

Pág. 393

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

Saved successfully!

Ooh no, something went wrong!