Answer the question
In order to leave comments, you need to log in
Why can't it find the entry in the database?
Hello!
When querying the database, it does not find a record. There is a record in the database. The problem, I think, is in the characters that the search string contains.
Database query:
.....
var stringValueName = c.Name.Replace("\"", "");
db.Table.FirstOrDefault(s=> s.Name.Replace("\"", "").Contains(stringValueName));
.....
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question