I am new to ASP.Net and I'm a little confused here.
Studying ASP.Net through some of the articles on the Internet, I notice that some experts use some key words for data binding and automatically increase the date in the source code, for example <%#Container.DataItemIndex + 1 %>, <%#Eval("Itemid")%>, <%#DataBinder.Eval(Container.DataItem, "itemStock")%>or <%=sectionId%>.
<%#Container.DataItemIndex + 1 %>
<%#Eval("Itemid")%>
<%#DataBinder.Eval(Container.DataItem, "itemStock")%>
<%=sectionId%>
What are your designs, and where can I get a list of such keywords with an explanation?
they are commonly known as inline tags; note that there are quite a few different types.
Here you can find a detailed explanation of each type:
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
, Bee-Stings:ASP.Net, <% = <% #
<%@
<%$
<%=
<% Response.Write( ) %>
<%#
Page.DataBind()
<%
<%:
. :
ASP.NET ""
ASP.NET MSDN, . MSDN :
<%# <%$ <%@ <%=
@rahul, , ASP.net, .
<% %> .net- , .
<% %>
<%# Container.DataItemIndex + 1 %> , DataGridView .. . - , , , ..
<%# Container.DataItemIndex + 1 %>
<%#Eval("Itemid")%> , (, ..) Itemid.
<%# DataBinder.Eval(Container.DataItem, "itemStock")%> , , .
<%# DataBinder.Eval(Container.DataItem, "itemStock")%>
term <%=sectionId%> sectionId, html.
" ". : GoodLink
, .
.
. , - , web.config , , .
<% #, <% $, <% = , ..
, , Eval, Bind ..
List of Sources:Five Unopened Functions in ASP.NET ASP.NETExtensionExpress yourself with custom expression builders
Source: https://habr.com/ru/post/1719382/More articles:Get Eclipse CDT + boost :: shared_ptr to work with syntax completion? - eclipseHow to get MethodInfo method interface by implementing MethodInfo class method? - reflectionHelp me understand web methods? - asp.netWPF-связывающий словарь в listView, ListBox как? - dictionaryИздевательствование/тестирование основного объекта в моей системе - javams-access localization and boolean defaults - ms-accesswhy not use a Java start instead of other RIA frameworks? - javaDecryption using AES and CryptoAPI? When do you know KEY / SALT - c ++Objective-C: high level language? - objective-cBubble event and onblur event - javascriptAll Articles