Hazzza
SQL: Trying to obtain all rows that have a primary key inside a inputted table
The code works if the Recipe string replaces the ? in the string. However, as I want to prevent SQL injection the RecipeString isn't treated as SQL so the ' ' either side of each name in RecipeString isn't identified in the SQL string hence returning no values. Hopefully you understand the issue. If anyone has any ideas on how to fix this it would be greatly appriciated. Thanks
Code:
Example Recipe String is:
8 replies
Trying to detect when a checkbox is ticked/unticked in a datagridview checkbox column (WinForms)
Check Box Column Creation Code:
Checkbox Click Detection Code: (Column[1] is the column of checkboxes)
Showcase of output:
https://gyazo.com/101659e8af97d91876baa8a6cf4d1834
Seems to return true/false very randomly anyone have any idea why this happens.
Thanks
7 replies