|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
command.CommandText and parametersWhat is the way for getting the sqlQuery with all params
replacementfrom a command ? DbCommand command; SqlParameter sqlParam = new SqlParameter("@param1", "value1"); SqlParameter sqlParam = new SqlParameter("@param1", "value2"); command.CommandText=sqlQuery; What is the propertoie that provide the sqlQuery string but with all params replacement ? Sam Hi Sam,
Do you mean the command.CommandText ? Pipo <skne***@gmail.com> schreef in bericht Show quote news:1194455503.023124.44740@19g2000hsx.googlegroups.com... > What is the way for getting the sqlQuery with all params > replacementfrom a command ? > DbCommand command; > SqlParameter sqlParam = new SqlParameter("@param1", "value1"); > SqlParameter sqlParam = new SqlParameter("@param1", "value2"); > command.CommandText=sqlQuery; > What is the propertoie that provide the sqlQuery string but with all > params replacement ? > > Sam > |
|||||||||||||||||||||||