File:web/school/index.html
Function Code:510
Method Code:15
在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接)
数据库执行错误
class/schools.xmlc
...calar(CatalogName,{%CatalogID={@rowsubjectcontent[CatalogID]}%});
@description={%#&:{@rowsubjectcontent[description]} {@rowsubjectcontent[description2]}%};
$if(@rowsubjectcontent[description]==$empty){
@description={%#&:{@rowschoolcontent[Title]}{@rowsubjectcontent[Title]}最新开班,报名可享受网上优惠价{@rowschoolcontent[SimpleCall]}主要项目:{@rowsubjectcontent[keywords]}%};
}
$else{
@description=@rowsubjectcontent[description];
}
$return($empty);
}

$sub SchoolInfo(){
@query=$query(content,schools);
@
rowschoolcontent=@query.dataMap(*,{%ContentID={$get.sql(schid)}%});
@description={%#&:{@rowschoolcontent[MetaDescription0]} {@rowschoolcontent[MetaDescription]}%};
$if(@rowschoolcontent[MetaDescription0]==$empty){
$if(@rowschoolcontent[MetaDescription]==$empty){
@description=@rowschoolcontent[Title];
}
}
$return($empty);
}

$sub newscontent(){
@query=$query(content,cnnews);
@rownewscontent=@query.dataMap(*,{%ContentID={$get.sql(id)}%});
@description={%#&:{@rownewscontent[description...