吃掉...
: if (!string.IsNullOrEmpty(txtVendor.Text))
: {
: //cmd.CommandText = strSql + "WHERE NAME1 LIKE N'%"+
: txtVendor.Text.Trim() + "%'"; // 这样写可以
:
: cmd.CommandText = strSql + "WHERE NAME1 LIKE '[email protected]/*
作者:
lucky1lk (赌到没钱的人)
2016-07-22 09:28:00备注: oracle: " like '%' || :input || '%' "; 即可
先记下来了. 难保不会遇到 oracle, 谢谢!