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

Popular posts from this blog

java - netbeans "Please wait - classpath scanning in progress..." -

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

openxml - Programmatically format a date in an excel sheet using Office Open Xml SDK -