Documentos de Académico
Documentos de Profesional
Documentos de Cultura
INSTRUCCIONES DE APLICACIÓN.
Verifique que se encuentren los componentes señalados abajo y marque con una √ el registro
de cumplimiento correspondiente.
REGISTRO DE
REGISTRO DE
Practica 19
Imports System.Data.OleDb
Public Class Form1
Public fila As Integer = 0
Dim cn As New
OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Jaramillo\Promedio.mdb")
Dim dt As New DataTable
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
txtPromedio.Text = (Int(txtC1.Text) + Int(txtC2.Text) +
Int(txtC3.Text)) / 3
If (Int(txtPromedio.Text) >= 7) Then
txtMensa.Text = "Promedio aceptado"
Else
txtMensa.Text = "Promedio no aceptado"
End If
End Sub
Prome
Matricula Nombre C1 C2 C3 Pro Mensa
80260033 Sarai 9 8 10 9 Promedio aceptado
80260035 Sonia 10 10 9 10 Promedio aceptado
80260036 ismael 9 8 10 9 felizidadez