please help me how to binding the data in the data list control in asp.net
please help me how to binding the data in the data list control in asp.net
You can use datalist same as datagrid in the asp.net and which language you are using c# or vb.net? let me know so I can guide you
You can use the ASP.NET syntax to bind data to the ASP.NET server controls. To bind
these controls to data, you first need to open the ASPX file for the Web Forms page.
Then, you can use the appropriate syntax for data binding for different controls. To bind
a property of a control to some data represented by an expression, use the following tag:
<% # expression %>
When the expression is evaluated, the value is loaded in the control's bound property.
For example, you can bind the Text property of a Label control to a public property
called ProductID of the page. To do so, use the following code:
<asp:Label ID = "ProdID" runat = "Server" Text =
'<% # ProductID %>' />
In this code, the <% # ProductID %> tag is used to bind the Text property of the
Label control to the ProductID property of the page.
Bookmarks