1. Problem situation:
Error message:
Code content:
2. Problem analysis:
According to the prompt that there is a grammatical error near "form", let's look for the place where the form appears and find that the only place is
At this time, I realized that it was because I made a careless typo: I mistyped "from" as "form"
3. Solution:
Bundle
string strs1 = "select * form table1";
changed to
string strs1 = "select * from table1";