ASP.NET Newbie

Results 1 to 2 of 2

Thread: ASP.NET Newbie

  1. #1
    Join Date
    Dec 1969

    Default ASP.NET Newbie

    --- Please read the code below ----<BR><BR>&#060;%@ Import Namespace="System.Data" %&#062;<BR>&#060;%@ Import Namespace="System.Data.OleDb" %&#062;<BR>&#060;script language="VB" runat="server"&#062;<BR> sub Page_Load(sender as Object, e as EventArgs)<BR> Dim connString as String<BR> connString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & _<BR> "C:InetpubwwwrootProjects.mdb;"<BR> <BR> Dim objConnection as OleDbConnection<BR> objConnection = New OleDbConnection(connString)<BR> objConnection.Open() &#039;open the connection<BR> <BR>The code above is exactly right but my problem is I am unable to get context menus ex: objconnection. (Nothing getting populated)<BR>Can anyone please tell me where I am doing wrong.<BR>Like in traditional asp I am not able to access methods and properties of that object. Is it something I am doing wrong. I have also defined Namespaces.<BR><BR>Hey gurus, please help this newbie.<BR>Thanks.<BR>

  2. #2

    Default RE: ASP.NET Newbie

    There is no intellisense in the html view.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts