List:MySQL and .NET« Previous MessageNext Message »
From:Luke Venediger Date:October 19 2004 1:04pm
Subject:Adding parameters to a command
View as plain text  
Hi there,

I'm trying to create a parameter-based query, something like:
INSERT INTO tb_Table(Column) VALUES (@MyValue)

Then I add the parameter @MyValue to the MySqlCommand. Is this the
correct way to add a parameter in the query of the MySqlCommand?

Luke Venediger.
Get Firefox Browser! Reclaim the web.
Adding parameters to a commandLuke Venediger19 Oct