I need to fetch the records based on a \'like\' match against a set of records,
The below query im using is not working . Does anyone knows what\'s wrong with the query?
String.Format needs a placeholder, like {0} {1} etc.
sqlCommand.CommandText = "SELECT * FROM Customer WHERE Name LIKE @Name;"; sqlCommand.Parameters.AddWithValue("@Name", String.Format("%{0}%", searchString));