⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 专题类别下的专题_数据源.config

📁 Enterprise Template for BizIdea 2.0, with full pictures and aspx files.
💻 CONFIG
字号:
<root>
  <LabelDataType>sql_sysquery</LabelDataType>
  <LabelType>专题类</LabelType>
  <LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
  <LabelIntro>数据源模式</LabelIntro>
  <LabelSqlString>SELECT TOP @pagesize T.SpecialID,T.SpecialName FROM PE_Specials T WHERE T.SpecialID NOT IN (SELECT TOP @startrow IT.SpecialID FROM PE_Specials IT WHERE IT.SpecialCategoryID=@specialCategoryId) AND T.SpecialCategoryID = @specialCategoryId</LabelSqlString>
  <LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
  <xsl:output method="xml" />
  <xsl:template match="/">
    <NewDataSet>
      <xsl:for-each select="NewDataSet/Table">
        <Table>
          <SpecialID>
            <xsl:value-of select="SpecialID"/>
          </SpecialID>
          <SpecialName>
            <xsl:value-of select="SpecialName"/>
          </SpecialName>
          <SpecialPath>
            &lt;a href="<xsl:value-of select="pe:GetSpecialPath(SpecialID)"/>"&gt;<xsl:value-of select="SpecialName"/>&lt;/a&gt;
          </SpecialPath>
          <SpecialLink>
            <xsl:value-of select="pe:GetSpecialPath(SpecialID)"/>
          </SpecialLink>
        </Table>
      </xsl:for-each>
    </NewDataSet>
  </xsl:template>
</xsl:transform>]]></LabelTemplate>
  <OutType>
  </OutType>
  <CacheTime>0</CacheTime>
  <UsePage>True</UsePage>
  <LabelSqlCount>SELECT COUNT(IT.SpecialID) FROM PE_Specials IT WHERE IT.SpecialCategoryID = @specialCategoryId</LabelSqlCount>
  <attributes>
    <name>specialCategoryId</name>
    <default>1</default>
    <intro>专题类别ID</intro>
  </attributes>
  <EnabelAjax>False</EnabelAjax>
  <IsXsltSql>false</IsXsltSql>
  <IsXsltCountSql>false</IsXsltCountSql>
</root>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -