Is it possible to know the datatype of the column returned from Stored Proc records set from ado.net -
is possible datatype of column stored procedure in ado.net environment.
suppose have defined table name
, id
. name having datatype of varchar(20), , id of type int.
now ado.net prespective when executereader, possible know datatypes of columns?
any sample/pseudo code or link helpful
thanks
it's been while since did this, istr executereader gives sqldatareader object. object has getdatatypename method returns string type of column.
Comments
Post a Comment