How to bind label in database asp.net with c#

How to data-bind Label in asp.net. asp.net example

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="defalt.aspx.cs" Inherits="Defalt" %><!DOCTYPE html>            <asp:Label runat="server" ID="lblprice" Text='<%# Eval("price") %>'><html lang="en"><head>    <title> abcd</title></head><body>                <form runat="server" id=form1>
                         </from></body></html>




I want to show the data in the labels that I last entered.
How can I do that?

Post a Comment

0 Comments