Wednesday, 8 October 2014

How to Get ReadOnly in TextBox Using Asp.net C#

No comments    
categories: , ,
TEXTBOX READONLY





HTML CODING



<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table><tr><td>
        <asp:Label ID="Label1" runat="server" Text="Name"></asp:Label></td>
        <td><asp:TextBox ID="TextBox1" runat="server" ReadOnly="True">DOTNET</asp:TextBox></td>
        </tr>
        </table>
    </div>
    </form>
</body>
</html>








                                       

0 comments:

Post a Comment