File:product2.html
Method:query.table(columns,*where,*order,*top)
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to 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...