Quote:
Originally posted by techyspecy
I think you guys did not get me ...
I'll explain again.
I am only interested in method 2 right now ..
I want to pass the stored procedure name to connection object ..
conn.spname
now spname has to be a hardcoded string value. I want to pass a string variable instead of a hardcoded value. That string variable contains the name of the stored procedure. But what it does is it assumes that string variable name itself as a stored procedure name and it does not takes the values inside it.
Any solution ???
conn.