I am getting this error. I looked at a previous question with an "answer" but it did not help. I've tried what the microsoft site says but that didn't work either. I must be just coding something wrong. Hopefully you folks can figure it out.
<script language="VB" runat="server" >
sub Page_Load(Sender as Object, e as EventArgs)
'this is one line
dim objConn as new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;
& Data Source=c:\ASPNET\data\banking.mdb")
dim objCmd as new OleDbDataAdapter("select * from tblUsers", objConn)
dim ds as DataSet = new DataSet()
objCmd.Fill(ds, "tblUsers")
MyDataList.DataSource=ds.tables("tblUsers").DefaultView
MyDataList.DataBind()
end sub
</script>
I am doing the sams asp .net in 21 days and this is one of their examples. I cannot get it to work.