M
Mr. x
Hello,
I am using .NET.
My database is access, and I am using oleDBConnection.
suppose I have the query :
"update myTable set mycol1= ?, mycol2 = ?".
I want to set the paraterers a value, and for that I need to know before I
am setting them a value, which type are the parameters.
Is there any way to parse the query, and retrieve somehow the parameters'
types, before I am setting them a value ?
(I don't know whethere the parameter's type is oledbtype.Integer, or
oledbtype.varchar, etc... - Is there any way I can know this before I am
setting the parameters of "?" a value ?).
Thanks
I am using .NET.
My database is access, and I am using oleDBConnection.
suppose I have the query :
"update myTable set mycol1= ?, mycol2 = ?".
I want to set the paraterers a value, and for that I need to know before I
am setting them a value, which type are the parameters.
Is there any way to parse the query, and retrieve somehow the parameters'
types, before I am setting them a value ?
(I don't know whethere the parameter's type is oledbtype.Integer, or
oledbtype.varchar, etc... - Is there any way I can know this before I am
setting the parameters of "?" a value ?).
Thanks