Asp.Net - 什么为&lt;%$? [英] Asp.Net - what is <%$?
本文介绍了Asp.Net - 什么为&lt;%$?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我现在应该已经知道这一点,但我不这样做,出于某种原因,我没有找到在谷歌的答案,所以我想我会尝试在这里。
I should know this by now, but I don't, and for some reason, I am not finding the answer on Google, so I thought I'd try here.
我知道&LT;%=%&GT;
是的Response.Write相当于()
和我见过的&LT;%#%方式&gt;
数据绑定
不过,今天我注意到一些新的东西,即使我可以看到它在做什么,我找这个官方文档。在我的网页之一,我看
However, today I noticed something new, and even though I can see what it's doing, I am looking for the official documentation on this. In one of my web pages, I see
ConnectionString="<%$ ConnectionStrings:SomeConnectionString %>"
那么,是什么&LT;%$%&GT;
做
推荐答案
用于为前pressions,不是code;经常看到与数据源
Used for expressions, not code; often seen with DataSources
http://msdn.microsoft.com/en-us/library/ d5bd1tad.aspx
这篇关于Asp.Net - 什么为&lt;%$?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文