MySQL Forums
Forum List  »  Microsoft SQL Server

oParam.ParameterName = sb.ToString() - HELP!
Posted by: Matthew Swanson
Date: June 13, 2005 12:01PM

got a weird one...

I am trying to add the name of a parameter using the MySQL .net connnector...

If I have

Dim sColumnName as String = "lastname"
oParam.ParameterName = "?_" & sColumnName

where oParam is a MySQl.Data.MySQLClient.MySQlParameter

The "?" (used for MYSQL Parameters) or even the "@" (used for SQL Server Parameters) is getting dropped.

Anyone know what I am doing wrong? Help! Thanks in advance!


Options: ReplyQuote

Written By
oParam.ParameterName = sb.ToString() - HELP!
June 13, 2005 12:01PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.