摘要:
MSDN的帮助是不错,可惜举的例子比较特殊,没有解释如何做模糊查询。只有这么一句:SqlMembershipProvider 通过对 usernameToMatch 参数使用 LIKE 子句来执行搜索。LIKE 子句中受 SQL Server 支持的任何通配符都可以在 usernameToMatch 参数值中使用。查了下LIKE子句,英文的在这里http://msdn.microsoft.com/en-us/library/aa933232(SQL.80).aspxWildcard characterDescriptionExample%Any string of zero or more c
阅读全文