W
Wayne Wengert
I am trying to learn to use VS NET and codebehind for asp.net apps and I've
run into a problem trying to use a datareader.
I created a new webform and inserted and configured a sqlconnection and I
inserted a sqlcommand object with the query string. The form has a datagrid
object which I want to bind to the returned data. I want to add a datareader
to get the actual data but I cannot find a datareader in the toolbox? I
looked under the data tab and several others.
I previously coded all this in an in-line code format and it works. How do I
do this (correctly) in VS NET 2003?
I suspect I am going at this the wrong way. Any advice or pointers are
appreciated
run into a problem trying to use a datareader.
I created a new webform and inserted and configured a sqlconnection and I
inserted a sqlcommand object with the query string. The form has a datagrid
object which I want to bind to the returned data. I want to add a datareader
to get the actual data but I cannot find a datareader in the toolbox? I
looked under the data tab and several others.
I previously coded all this in an in-line code format and it works. How do I
do this (correctly) in VS NET 2003?
I suspect I am going at this the wrong way. Any advice or pointers are
appreciated