O
Ondrej Sevecek
Hello,
I have dialog box, where user should insert the following:
SQL parameter name
SQL parameter type
SQL parameter length (optional)
SQL parameter value!!!!
these values are represented as follows:
String paramName = ...;
String paramValue = ...;
DBType paramType = ...;
int paramSize = ...;
I need to create "SqlParameter" object from user supplied input values so
that the "paramValue" is appropriatelly converted?? (must it be converted?)
to the type specified by
"paramType" user input.
I want then call some stored procedure with the "SqlParameter" constructed
from user input.
Is there a way?
Ondra.
I have dialog box, where user should insert the following:
SQL parameter name
SQL parameter type
SQL parameter length (optional)
SQL parameter value!!!!
these values are represented as follows:
String paramName = ...;
String paramValue = ...;
DBType paramType = ...;
int paramSize = ...;
I need to create "SqlParameter" object from user supplied input values so
that the "paramValue" is appropriatelly converted?? (must it be converted?)
to the type specified by
"paramType" user input.
I want then call some stored procedure with the "SqlParameter" constructed
from user input.
Is there a way?
Ondra.