File:cn/index.htm
Method:query.table(columns,*where,*order,*top)
在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: Named Pipes Provider, error: 40 - 无法打开到 SQL Server 的连接)
数据库执行错误
cn/xmls/frame.xmls
$sub main(){
$shell.call($get(method));
}

//多层分类,两层
$sub GoodsCatalog(format,format1){
@cacheCatalog=$cache[cacheCatalog];
$if(!@cacheCatalog){
@querygcata=$query(catalog,goods);
@
tablectmn=@querygcata.table(*,['ParentId=0 and Status>0 and {*AreaId = $shell.getData(cn)}'],['Grade desc,CatalogId desc']);
@listta=@tablectmn.format(@format){
@tablect=@querygcata.table(*,['{*ParentId = $var[CatalogId]} and Status>0'],['Grade desc,CatalogId desc']);
@listtb=@tablect.format(@format1);
}
$cache[cacheCatalog]=@listta;
@cacheCatalog=@listta;
}
$return(@cacheCatalog);
}

//帮助
$sub HelpList(format,format1){
@cacheHelp=$cache[cacheHelp];
$if(!@cacheHelp){
@querygcont=$...