I'm working with SQL and C# so I need my string to show up verbatim to what I've type into them. For what I am working on the string needs to say
Select* from dbo.tblIndiviualFoods where foodName = 'food'
but when I debug the sting it comes out as
Select* from dbo.tblIndiviualFoods where foodName = 'food
here's what my code looks like I'm not quite sure what's wrong
string commandString = string.Format("Select* from dbo.tblIndiviualFoods where foodName = '{0}'", currentIngredentFromList);