{sql.} 数据库实体示例
示例一:获取文章标题
<stl:sqlContents connectionStringName="ConnectionString" cellpadding="2"> <stl:queryString> SELECT TOP 6 * FROM au_Content ORDER BY Id DESC </stl:queryString> {Sql.Title} (<stl:sqlContent type="AddDate" formatString="yyyy-MM-dd"></stl:sqlContent>)<br /> </stl:sqlContents>
解析后的HTML代码: