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

}


//品牌类别
$function getCatalogList(format){
@querygcata=$query(catalog,goods);
@AreaId=$shell[AreaId];
@querygcata[AreaId]=@AreaId;
@
tablectmn=@querygcata.table(*,['ParentId=0 and AreaId={*AreaId}'],['Grade asc,CatalogId asc']);
@listta=@tablectmn.format(@format){
}
$return(@listta);
}

//品牌第二级类别
$function getCatalogLists(format){
@querygcata=$query(catalog,goods);
@id=$http.get(cid);
@querygcata[ParentId]=@id;
@AreaId=$shell[AreaId];
@querygcata[AreaId]=@AreaId;
@tablectmn=@querygcata.table(*,['Status>0 and ParentId={*ParentId} and AreaId={*AreaId}'],['Grade asc,CatalogId asc']);
@listta=@tablectmn.format(@form...