#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2010
    Posts
    59
    Rep Power
    0

    Object Reference


    New to ASP.net.

    Working in Microsoft Visual Web Developer 2010 Express.

    Wrote a program with both HTML and Visual Basic.

    I am missing a System.Web.UI.WebControls definition.

    Code:
    Public Class Form1
                Protected WithEvents TextBox1 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox2 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox3 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox4 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox5 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox6 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox7 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox8 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox9 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox10 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox11 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox12 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox13 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox14 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox15 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox16 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox17 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox18 As System.Web.UI.WebControls.TextBox
                Protected WithEvents TextBox19 As System.Web.UI.WebControls.TextBox
                Protected WithEvents Button1 As System.Web.UI.WebControls.Button
                Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
                 'code
          end sub
    end class
    Any suggestions?
    Last edited by Philosophaie; July 3rd, 2012 at 12:36 PM.

IMN logo majestic logo threadwatch logo seochat tools logo