Ejemplos preparados para
el curso de ASP.net - 2ª Semana
Objetivos:

Objetivos:

Objetivos:


Objetivos:

Objetivos:

Objetivos:

Objetivos:

Objetivos:

Objetivos:
·
Hacer 2 controles de usuario mas
elementales
·
Conocer la directiva Register
·
Conocer cómo modificar o leer las propiedades de cada objeto de tipo control
de usuario
·
Conocer el generador de estilos de controles
HTML

Ver
código fuente y documentación

Objetivos:

Objetivos:
Ver código fuente


Objetivos:
Ver código fuente

Objetivos:
Ver código fuente


Objetivos:
Ver código fuente

Objetivos:
Ver código fuente



Objetivos:
Ver código fuente


Objetivos:
Ver código fuente




Objetivos:

|
<WebMethod()>
Function ObtenerAutor(
_ ByVal p_Au_Id As String) As DataSet Dim strConexion As String Dim StrComando As String Dim Adaptador As New OleDb.OleDbDataAdapter Dim
DS As New DataSet strConexion
= "Provider=SqlOleDB.1" _ & ";user ID=sa" _ & ";Persist
Security Info=False" _ & ";Initial Catalog=Pubs" _ & ";Data
Source=(local)" StrComando
= "Select * " _ & " FROM
Authors" _ & " Where AU_id = '" & p_Au_Id
& "'" Adaptador =
New OleDbDataAdapter(StrComando, strConexion) Adaptador.Fill(DS,
"Authors") Return
(DS) End Function |





|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN"> <html> <head> <title>HTMLPage1</title> <meta name="vs_defaultClientScript" content="JavaScript"> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> <meta name="GENERATOR" content="Microsoft Visual
Studio .NET 7.1"> <meta name="ProgId" content="VisualStudio.HTML"> <meta name="Originator" content="Microsoft Visual Studio .NET 7.1"> </head> <body MS_POSITIONING="GridLayout"> <form method="post"
id="form1"
name="form1"
action="http://localhost/Autores_SW/Service1.asmx/ObtenerAutor"> <input size="30" name="p_Au_Id" style="HEIGHT: 22px; Width: 219px" id="p_Au_Id"> <input type="submit"
value="Ejecutar" name="Ejecutar"> </form> </body> </html> |



Objetivos:
Fuentes
y documentación del proyecto VB

|
|
Modulo |
Clase |
Observaciones |
|
Pagina Principal |
WebForm1 |
|
|
|
Lógica de la seleccion |
|
|
|
|
Mantenimiento Detalle |
MantoWeb |
|
|
|
Lógica del Manto |
|
|
|
|
Módulo General |
|
|
|
|
Visor de report |
|
WebPrt |
Aunque la logica asociada a este
modulo muestra todo el contenido de la BD, realmente el report
muestra el contenido del objeto Dataset que se pasa
como parámetro al report., razón por la que se
podría filtrar la información mostrada. |
|
|
|
|
|
Objetivo :

Objetivo :



