Hi all,
So I'm new to .Net. I've got a process that I did successfully in a vb.Net WinForms app, using the System.Data reference and Oledb.DataReader, etc. It's simply reading a sql-server table.
I want to have this same functionality in a vb/Asp.net web app, and I don't know how to add the system.data reference. When I go to the Menu--Website--Add Reference, one of two things happens:
1. Nothing. Hourglass for a second, then no dialog box, no nothing.
2. I get the familar references dialog box, click System.Data, then close, but the system.data is nowhere to be found--not in Web.config, not in the aspx page, and I still get the errors that Oledb.OledbDataReader is not defined.
I have gotten the site to work using what I guess you'd call 'old school' Server.CreateObject(blah, blah). But I would like to conform to whatever the best practices are for .Net.
Thanks for any help,
--Jim
So I'm new to .Net. I've got a process that I did successfully in a vb.Net WinForms app, using the System.Data reference and Oledb.DataReader, etc. It's simply reading a sql-server table.
I want to have this same functionality in a vb/Asp.net web app, and I don't know how to add the system.data reference. When I go to the Menu--Website--Add Reference, one of two things happens:
1. Nothing. Hourglass for a second, then no dialog box, no nothing.
2. I get the familar references dialog box, click System.Data, then close, but the system.data is nowhere to be found--not in Web.config, not in the aspx page, and I still get the errors that Oledb.OledbDataReader is not defined.
I have gotten the site to work using what I guess you'd call 'old school' Server.CreateObject(blah, blah). But I would like to conform to whatever the best practices are for .Net.
Thanks for any help,
--Jim