是什么在< %%>所谓在asp.net中构建?GT、lt、net、asp

2023-09-04 02:19:48 作者:除了坚强别无选择

我是新来ASP.Net和我有点困惑在这里。

I am new to ASP.Net and I'm a little confused here.

在通过一些文章的学习ASP.Net网上,我注意到一些使用一些关键字,结合数据和自动递增源$ C ​​$ C的日期,如&LT专家;%# Container.DataItemIndex + 1%> <%#的eval(ITEMID)%> &LT ;%#的DataBinder.Eval(的Container.DataItem,itemStock)%> <%= sectionId%>

While learning ASP.Net through some of the articles online, I notice some of the experts using some keywords for binding data and auto incrementing a date in source code, like <%#Container.DataItemIndex + 1 %>, <%#Eval("Itemid")%>, <%#DataBinder.Eval(Container.DataItem, "itemStock")%> or <%=sectionId%>.

什么是theese结构打来电话,我在哪里可以得到这样的关键字的列表解释?

What are theese constructs called and where can I get the list of such keywords with an explanation?

推荐答案

这些通常被称为行内标签,注意,因为有相当多的不同类型。

these are generally known as inline tags, take note as there are quite a few different types.

您可以在这里找到每种类型的详细说明:

You can find a detailed explanation of each type here:

http://naspinski.net/post/inline-aspnet-tags-sorting-them-all-out-(3c25242c-3c253d2c-3c252c-3c252c-etc).aspx

http://forums.asp.net/p/1049167/1478431。 ASPX#1478431

 
精彩推荐
图片推荐