I want to run a query in c#
delete from dials
Are there any suitable libraries that can help me run this query in c# windows form Application?
I want to run a query in c#
delete from dials
Are there any suitable libraries that can help me run this query in c# windows form Application?
Try this:
MySqlCommand cmd = new MySqlCommand("DELETE from [tablenamehere] where Somethingunique=@unique",connectionstring)
cmd.Parameters.Add("@unique", MySqlDbType.VarChar).Value = somethinguniqueHere;
cmd.ExecuteNonQuery()