How to bind label in database with c#

How to data-bind Label in 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>

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

Post a Comment