Labels

Pages

Tuesday, July 17, 2012

WORKING WITH VB.NET FULL EXAMPLE

Imports System
Imports System.Collections
Imports System.Configuration
Imports System.Data
Imports System.Data.SqlClient
Partial Public Class Default4
    Inherits System.Web.UI.Page

  
    Dim con As SqlConnection = New SqlConnection("Data Source=EV001F294E678D\SQLEXPRESS;Initial Catalog=oee;Integrated Security=True")
    Sub Page_Load(ByVal Sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        If Page.IsPostBack Then
        Else
            fill()
        End If
    End Sub
    Public Sub fill()
       
    End Sub

No comments:

Post a Comment