Difficulty creating dataobjects
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?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

S_Kiryazov143 reputationPosted Sep 9, 2004, 12:33 AM EDT
kalikaye20046 reputationPosted Sep 9, 2004, 6:02 PM EDT