Click here to Skip to main content
15,887,923 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
There is a CMS site,coded by C# .Net.
Now I want do an anroid log on activity for the CMS ,how to pass by the validation of the CMS.
The code of CMS like blow.

XML
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="WebApp.Login" %>

<html>
<head runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <title>Login</title>
   <style>
        td
        {
            font-size: 12pt;
        }
        .btnbg
        {
            border-right: 0px solid;
            border-top: 0px solid;
            background-image: url(images/btnlogin.png);
            border-left: 0px solid;
            width: 102px;
            border-bottom: 0px solid;
            height: 30px;
            background-color: transparent;
            cursor: hand;
        }
        .txtbg
        {
            background-image: url(images/txtbg.png);
            width: 203px;
            height: 30px;
            border-right: solid 0px #83A9D0;
            border-top: solid 0px #83A9D0;
            border-left: solid 0px #83A9D0;
            border-bottom: solid 0px #83A9D0;
            float: none;
            padding-top:6px;
            padding-left:5px;

        }
        .dl_01
        {
            background-image: url(images/Login/loginnew01.png);
            width: 341x;
            height: 163px;
        }
        .dl_02
        {
            background-image: url(images/Login/loginnew02.png);
            width: 462px;
            height: 163px;
        }
        .dl_03
        {
            background-image: url(images/Login/loginnew03.png);
            width: 341px;
            height: 141px;
        }
        .dl_04
        {
            background-image: url(images/Login/loginnew04.png);
            width: 462px;
            height: 141px;
        }
        .dl_05
        {
            background-image: url(images/Login/loginnew05.png);
            width: 341px;
            height: 98px;
        }
        .dl_06
        {
            background-image: url(images/Login/loginnew06.png);
            width: 462px;
            height: 98px;
        }
    </style>
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" style="overflow: hidden;">
    <form id="Form1" method="post" runat="server">
    <table border="0" cellpadding="0" height="100%" valign="middle" width="100%" cellspacing="0">
        <tr>
            <td valign="middle" align="center" bgcolor="#D0DFE7">
                <table border="0" cellpadding="0" height="600px" valign="middle" width="100%" cellspacing="0">
                    <tr>
                        <td align="center" valign="middle">
                            <table cellpadding="0" cellspacing="0" border="0">
                                <tr>
                                    <td class="dl_01">
                                    </td>
                                    <td class="dl_02">
                                    </td>
                                </tr>
                                <tr>
                                    <td class="dl_03" valign="middle" align="center">
                                        <table cellpadding="3" cellspacing="3" border="0">
                                            <tr height="22">
                                                <td align="right">
                                                    <font color="#000" style="font-size: 12px;">UserName:</font>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtLoginID" CssClass="txtbg" runat="server"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <font color="#000" style="font-size: 12px;">Password:</font>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtPwd" TextMode="Password" CssClass="txtbg" runat="server"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" align="center">
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="btnLogin" runat="server" CssClass="btnbg"
                                                        OnClick="btnLogin_Click" />
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td class="dl_04">
                                    </td>
                                </tr>
                                <tr>
                                    <td class="dl_05">
                                    </td>
                                    <td class="dl_06">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900