用于电子邮件签名中随机报价的Ashx处理程序. [英] Ashx handler for random quote in email signature.

查看:103
本文介绍了用于电子邮件签名中随机报价的Ashx处理程序.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的电子邮件签名包含一个带有静态随机引号的表,但是我想使该引号动态化,以便我可以调用一个处理程序,该处理程序将从数据库中返回一个动态引号字符串.

但是当我在
中写入处理程序地址时,我却感到困惑,该怎么办

< code>< pre>& lt; tr& gt;
< td colspan =&"99&" style =& quot;颜色:#666666; font-size:10px; font-family:Calibri; border-width:0px& quot;<
< b< b> http://www.xyz/asd/myhandler.ashx</b></td& gt;
& lt;/tr& gt;</pre></code>

其显示相同的网站地址,而不是对其进行评估.有任何线索吗?

my email signature contains a table with a static random quote but i want to make the quote dynamic so that i can call a handler which will return a dynamic quote string from the database.

but am confused how to do it cause when i write the handler address in the


<code><pre>&lt;tr&gt;
&lt;td colspan=&quot;99&quot; style=&quot;color: #666666;font-size:10px;font-family:Calibri;border-width:0px&quot;&gt;
&amp;gt;<b>http://www.xyz/asd/myhandler.ashx</b>.&lt;/td&gt;
&lt;/tr&gt;</pre></code>

its displaying the same website address instead of evaluating that. any clue ?

推荐答案

它应该看起来像这样:
''<%#"MyHandler.ashx?ID ="%>"
It should look something like this:
''<%# "MyHandler.ashx?ID="%>''


这篇关于用于电子邮件签名中随机报价的Ashx处理程序.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆