J
Jim Bunton
Visual Web Developer 2008
I am attempting to write the code to retrieve - within that code - data from an access database which I may then manipulate within the code.
having got thus far in some code
Imports System.Data.OleDb
Partial Class _Default
Inherits System.Web.UI.Page
.. . . . . . .
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\Solutionsnet\RegularGuests\May2009\Web.mdb;User Id=admin;Password=;")
Dim da As New OleDbDataAdapter("SELECT * FROM Feedback WHERE Companyid = 10366", cn)
Dim dt As New OleDbConnection
I get into problems with all the examples I have found in websearches. They then want variously to dim and create new DataSets (or Datatables).
ANY reference I use for DataSets (or DataTables) gives errors
EG DIM ds as Dataset
Starts to give errors (and dataset or datatable aren't available in the intellisense tool!)
I guess I'm missing something simple BUT important here -
HELP!!
I am attempting to write the code to retrieve - within that code - data from an access database which I may then manipulate within the code.
having got thus far in some code
Imports System.Data.OleDb
Partial Class _Default
Inherits System.Web.UI.Page
.. . . . . . .
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\Solutionsnet\RegularGuests\May2009\Web.mdb;User Id=admin;Password=;")
Dim da As New OleDbDataAdapter("SELECT * FROM Feedback WHERE Companyid = 10366", cn)
Dim dt As New OleDbConnection
I get into problems with all the examples I have found in websearches. They then want variously to dim and create new DataSets (or Datatables).
ANY reference I use for DataSets (or DataTables) gives errors
EG DIM ds as Dataset
Starts to give errors (and dataset or datatable aren't available in the intellisense tool!)
I guess I'm missing something simple BUT important here -
HELP!!