2
Reply

difficulty creating dataobjects

kalikaye2004

kalikaye2004

Sep 8 2004 5:12 PM
1.7k
I am migrating from ASP to ASP.net and am having difficulty creating datasets and datareaders....The listing I have from reference books dont seem to work with the actual ASP.net environment...like when I type the book has a line thus: dim dsshops as new odbcdatareader but in the IDE of .net you only have dim......new odbc.odbcdatareader and then after accepting the line of code, a curly underscore appears under dsshops saying that it is private in this context and cannot be referenced Can anyone help me out Can you put this code in a command button?

Answers (2)