Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I've already installed Jesper Package to use SQL command in my xslt.
However, I don't understand about configuring to another db
I've already add the following to my web.config
<add key="MYOWNDB" value="server=127.0.0.1;database=shop;user id=shop;password=99999999" />
but i still can't select data from table in db .
I changed xslt to
<xsl:variable name="sqlexp">
SELECT *
FROM [MyTable]
</xsl:variable>
and when i press save , it said cannot find [MyTable]
what should i do ??
Please help .
Thanks
When calling SQLXML you should add the second parameter specifying the database key from web.config
<xsl:variablename="sqlresult"select="jesper.sql:SQLXml($sqlexp,'MYOWNDB')"/>
best
Jesper
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
SQL for XSLT (Jesper Package)
Hi,
I've already installed Jesper Package to use SQL command in my xslt.
However, I don't understand about configuring to another db
I've already add the following to my web.config
<add key="MYOWNDB" value="server=127.0.0.1;database=shop;user id=shop;password=99999999" />
but i still can't select data from table in db .
I changed xslt to
<xsl:variable name="sqlexp">
SELECT *
FROM [MyTable]
</xsl:variable>
and when i press save , it said cannot find [MyTable]
what should i do ??
Please help .
Thanks
Hi,
When calling SQLXML you should add the second parameter specifying the database key from web.config
best
Jesper
is working on a reply...