plz convert these code to html

Started on the old forum in June 2010 · view the original in the archive · old links redirect here

#convert

2 replies · 433 views · started 16 years ago · 1 min read

2 participants
virusnokia Newbie · 3 posts #1

first code is

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Default2" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:Menu ID="Menu1" runat="server" BackColor="#F7F6F3" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#7C6F57" Orientation="Horizontal" StaticSubMenuIndent="10px" Width="1325px" Height="34px"> <StaticSelectedStyle BackColor="#5D7B9D" /> <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" /> <DynamicHoverStyle BackColor="#7C6F57" ForeColor="White" /> <DynamicMenuStyle BackColor="#F7F6F3" /> <DynamicSelectedStyle BackColor="#5D7B9D" /> <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" /> <StaticHoverStyle BackColor="#7C6F57" ForeColor="White" /> <Items> <asp:MenuItem Text="Multicolour Printing" Value="Multicolour Printing"> <asp:MenuItem Text="Multicolour Design" Value="Multicolour Design"></asp:MenuItem> </asp:MenuItem> asp:MenuItem</asp:MenuItem> <asp:MenuItem Text="Wedding Cards" Value="Wedding Cards"></asp:MenuItem> asp:MenuItem</asp:MenuItem> <asp:MenuItem Text="Inviation Cards" Value="Inviation Cards"></asp:MenuItem> asp:MenuItem</asp:MenuItem> <asp:MenuItem Text="Security Printings" Value="Security Printings"> <asp:MenuItem Text="Holograms" Value="Holograms"></asp:MenuItem> <asp:MenuItem Text="Scrach Cards" Value="Scrach Cards"></asp:MenuItem> </asp:MenuItem> asp:MenuItem</asp:MenuItem> <asp:MenuItem Text="Magazines" Value="Magazines"></asp:MenuItem> <asp:MenuItem Text="Logo Designs" Value="Logo Designs"></asp:MenuItem> <asp:MenuItem Text="Registrations" Value="Registrations"> <asp:MenuItem Text="Logo Registrations" Value="Logo Registrations"></asp:MenuItem> <asp:MenuItem Text="Trademark Registrations" Value="Trademark Registrations"></asp:MenuItem> </asp:MenuItem> <asp:MenuItem Text="Web Designing" Value="Web Designing"></asp:MenuItem> </Items> </asp:Menu> </asp:Content>


second code is

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Contact Us.aspx.cs" Inherits="Default2" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

For further details contact:

Manmit Kumar Jain (C.E.O.)-

+91-900 900 1550

+91-940 663 4141

<asp:Panel ID="Panel1" runat="server" Height="35px" Width="1069px">
    **&nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        <asp:LinkButton ID="LinkButton1" runat="server" Font-Size="12pt" PostBackUrl="~/Home.aspx" CausesValidation="False"><< Back</asp:LinkButton>**

Contact Us

    Company is committed to providing
        you with the highest quality service. To assist you as efficiently as possible.

            

            

            

            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;

            

            

            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;
            

            

            

            

        .</asp:Panel>

</asp:Content>


3rd code is

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Inquiry.aspx.cs" Inherits="Default2" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

&nbsp;If
    your requirement or inquiry has to be addressed, please complete the following form
    and we will respond to you as quickly as possible.

    

    <table style="width: 1009px; height: 132px">
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Height="22px" Style="left: 0px; top: 1px" Text="Name"
                    Width="42px"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtnm" runat="server"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtnm"
                    Display="Dynamic" ErrorMessage="RequiredField">RequiredField</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Text="Telephone"></asp:Label></td>
            <td>
                <asp:TextBox ID="txttelephone" runat="server"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txttelephone"
                    Display="Dynamic" ErrorMessage="RequiredField">RequiredField</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Text="Address"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtaddress" runat="server"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtaddress"
                    Display="Dynamic" ErrorMessage="RequiredField">RequiredField</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label4" runat="server" Text="City"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtcity" runat="server"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtcity"
                    Display="Dynamic" ErrorMessage="RequiredField">RequiredField</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label5" runat="server" Text="State/Province"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtstate" runat="server"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtstate"
                    Display="Dynamic" ErrorMessage="RequiredField">RequiredField</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label6" runat="server" Text="Zip Code"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtzip" runat="server"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtzip"
                    Display="Dynamic" ErrorMessage="RequiredField">RequiredField</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label7" runat="server" Text="Country"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtcountry" runat="server"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtcountry"
                    Display="Dynamic" ErrorMessage="RequiredField">RequiredField</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label8" runat="server" Text="E-mail"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtemail" runat="server"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtemail"
                    Display="Dynamic" ErrorMessage="RequiredField">RequiredField</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label9" runat="server" Text="Subject"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtsubject" runat="server"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtsubject"
                    Display="Dynamic" ErrorMessage="RequiredField">RequiredField</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label10" runat="server" Text="Message"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtmessage" runat="server" Height="102px" TextMode="MultiLine" Width="560px"
                    Wrap="False"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtmessage"
                    Display="Dynamic" ErrorMessage="RequiredField">RequiredField</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td colspan="3">
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Ask a Question"
                    Width="201px" /></td>
            <td>
            </td>
        </tr>
    </table>

</asp:Content>


this is master pagecode

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server">
    <table style="width: 1261px; height: 220px">
        <tr>
            <td style="height: 65px" colspan="3">
                <asp:Label ID="Label1" runat="server" BackColor="Maroon"  Font-Names= "Arial Black" Font-Bold="True" Font-Italic="True"
                    ForeColor="White" Height="51px" Font-Size="XX-Large"  Text="KATARIA PRINTERS" Width="1321px"></asp:Label>&nbsp;
                <asp:Menu ID="Menu2" runat="server" Orientation="Horizontal" Width="1319px">
                    <Items>
                        <asp:MenuItem NavigateUrl="~/Home.aspx" Text="Home Page" Value="Home Page"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/About Us.aspx" Text="About Us" Value="About Us"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/Contact Us.aspx" Text="Contact Us" Value="Contact Us"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/Our City.aspx" Text="Our City" Value="Our City"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/Inquiry.aspx" Text="Inqiry" Value="Inqiry"></asp:MenuItem>
                    </Items>
                </asp:Menu>
            </td>
        </tr>
        <tr>
            <td colspan="3">
    <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
        <asp:Panel ID="Panel1" runat="server">
        </asp:Panel>
    </asp:contentplaceholder>
            </td>
        </tr>
        <tr>
            <td style="width: 215px">
            </td>
            <td>
            </td>
            <td style="width: 9px">
            </td>
        </tr>
    </table>


</form>
</body> </html>

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close