Visual Basic

  1. Home
  2. Computing & Technology
  3. Visual Basic
Using ADO .NET - Using Wizards - Part 3
6 - The Code and Download Page
 More of this Feature
• 1 - Put Wizards On Your Side
• 2 - Stepping Up to the Wizard!
• 3 - Everything Old is New Again!
• 4 - Taking the Final Step
• 5 - Are We There Yet?
 
 Join the Discussion
Is this the kind of article that helps you?
Let us know!
 
 Related Resources
• Part 1 of the Tutorial
• Part 2 of the Tutorial
• VB .NET Books!
• New to VB .NET?
  Learn It Here!
 
 Elsewhere on the Web
• About.Com DATABASES
 

Download the code.

Important: You must add the ADO .NET objects using the database in your own environment and bind them to the form components as described in the article. Database objects are not included in the download.

Public Class Form1
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Private Sub Form1_Load( _
        ByVal sender As System.Object, _
        ByVal e As System.EventArgs) _
        Handles MyBase.Load
        Me.OleDbDataAdapter1.Fill(Me.DataSet11)
        lblDesc_TextChanged(sender, e)
    End Sub

    Private Sub lblDesc_TextChanged( _
        ByVal sender As Object, _
        ByVal e As System.EventArgs) _
        Handles lblDesc.TextChanged
        lblDate.Text = _
            Microsoft.VisualBasic.Left( _
            lblDate.Text, InStr(1, lblDate.Text, " "))
        lblURL.Text = _
            System.Web.RegularExpressions.TextRegex.Replace( _
            lblURL.Text, "#", "")
    End Sub
End Class

First page > Put Wizards On Your Side > Page 1, 2, 3, 4, 5, 6

Explore Visual Basic

By Category

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Visual Basic

  1. Home
  2. Computing & Technology
  3. Visual Basic

©2009 About.com, a part of The New York Times Company.

All rights reserved.