Bug #13313 Stored Procedure
Submitted: 19 Sep 2005 6:04 Modified: 20 Sep 2005 21:29
Reporter: TS Balaji Email Updates:
Status: Not a Bug Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:5.0.0-alpha-nt OS:Windows (windows)
Assigned to: Reggie Burnett CPU Architecture:Any

[19 Sep 2005 6:04] TS Balaji
Description:
Hi
While compiling the code following line
"cmd.Parameters("?lname").Direction" gives error
r.cs(305): 'MySql.Data.MySqlClient.MySqlCommand.Parameters' denotes a 'property' where a 'method' was expected

How to repeat:
create a stored procedure which accepts params
call it from c# application on any event like button click
[20 Sep 2005 9:23] Vasily Kishkin
I guess I need your test case. Could you please create some test case and attach in "Files" ?
[20 Sep 2005 21:29] Reggie Burnett
If you are coding C#, Parameters is an array based property of the MySqlCommand object.  You would access it using the [] syntax.  Like this:

cmd.Parameters["?lname"].Direction =