您的位置:首页 > 产品设计 > UI/UE

Active Record simple query

2007-10-16 17:05 323 查看
 
Active Record simple query: like

public static IList FindByName(string name) { SimpleQuery query = new SimpleQuery( @"from Students stu where stu.Name like ?", "%"+name+"%" ); return (IList)ActiveRecordBase.ExecuteQuery(query); }

More info about query:

http://www.cnblogs.com/Terrylee/archive/2006/07/15/372823.html

SQL Trim:

UPDATE Courses
SET Poly = LTRIM(RTRIM(Poly))

 

今天完成了JPAE 的最后更新。包括Admin Module搜索按钮的更新。还有JPAE SPM/STPM的UI设计。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  query module string sql ui