Image Control in asp.net

 For Example: Write a program to demonstrate the use of image control

<html>

<head runat="server">

    <title>Aryan Computers(Image Control) </title>

</head>

<body>

    <form id="form1" runat="server">

    <div>

          <center> <asp:Label ID="Label1" runat="server" Text="Image Control " Font-Bold="True"

            Font-Names="Comic Sans MS" Font-Underline="True"></asp:Label> </center>

        <br />       </div>

    <asp:Image ID="Image1" ImageUrl="~/shankar_maharaj7.jpg" runat="server"

        Height="395px" Width="307px" />

    </form>

</body>

</html>

Output:



Comments

Popular posts from this blog

simple program C#

Regular Expression Validator Control in asp.net

two dimension array in C#