나는 다음과 같은 코드가 있습니다! "에릭"DataTable 식 토큰 '!'을 해석 할 수 없습니다.
//myDataTable has the following collumns: UserName, Birthday and email.
string name = "eric!";
string expression = "UserName = " + name;
DataRow[] result = myDataTable.Select(expression);
내가 이름을 가진 모든 행을 선택합니다을.
"!" 다음과 같은 오류가 발생합니다 :
Cannot interpret token "!".
토큰이있는 모든 행을 어떻게 선택합니까?
은 값 주위