| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 687 人关注过本帖
标题:求C#代码翻译!!
取消只看楼主 加入收藏
kiltom
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2013-11-18
结帖率:0
收藏
已结贴  问题点数:20 回复次数:1 
求C#代码翻译!!
各位大神,麻烦看下这段代码,请翻译,很重要,时间很紧,先谢谢了

<%@ Page language="c#" Inherits="KaoQin.Login" CodeFile="Login.aspx.cs" %>

<%@ Register Src="UserControl/WebFootControl.ascx" TagName="WebFootControl" TagPrefix="uc2" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
    <HEAD>
        <title>公司考勤系统</title>
        <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
        <meta content="C#" name="CODE_LANGUAGE">
        <meta content="JavaScript" name="vs_defaultClientScript">
        <meta content="http://schemas. name="vs_targetSchema">
        <LINK href="css/style.css" type="text/css" rel="stylesheet">
        <script src="script/App.js"></script>
        <script language="javascript">
            function check()
            {
                if(document.Form1.txtName.value == "")
                {
                    alert("有未输入项目存在");
                    document.Form1.txtName.focus();
                    return false;
                }
                else if(document.Form1.txtPwd.value == "")
                {
                    alert("有未输入项目存在");
                    document.Form1.txtPwd.focus();
                    return false;
                }
                /*
                if(regQuanJiao(document.Form1.txtName.value) == false)
                {
                    alert("请输入全角文字");
                    document.Form1.txtName.focus();
                    return false;
                }*/
            }
        </script>
    </HEAD>
    <body>
        <form id="Form1" method="post" runat="server">
            <TABLE id="Table1" width="80%" border="0" align=center>
                <tr>
                    <td style="height: 14px" align="center">
<imgsrc="images/title.jpg" /></td>
                </tr>
                <br />
                <TR>
                    <TD vAlign="middle" align="center">
                        <TABLE class="tbl" id="Table2" cellSpacing="0" cellPadding="4" width="280" align="center"
                            bgColor="#d6ebff" border="0">
                            <TR>
                                <TD class="bottom" align="center" bgColor="#52beef" colSpan="2" height="35">公司考勤系统</TD>
                            </TR>
                            <TR>
                                <TD class="bottom" align="center" colSpan="2"></TD>
                            </TR>
                            <TR>
                                <TD class="br" style="HEIGHT: 33px" align="right" width="41%">请输入用户名:</TD>
                                <TD class="bottom" style="HEIGHT: 33px" align="left" width="59%"><asp:textbox id="txtName" runat="server" maxLength="5" Width="145"></asp:textbox></TD>
                            </TR>
                            <TR>
                                <TD class="br" align="right" width="41%">请输入密码:</TD>
                                <TD class="bottom" align="left"><asp:textbox id="txtPwd" runat="server" maxLength="12" Width="145" TextMode="Password"></asp:textbox></TD>
                            </TR>
                            <TR>
                                <TD align="center" colSpan="2" height="40">&nbsp;
                                    <asp:button id="Button1" style="MARGIN-RIGHT: 25px" runat="server" CssClass="searchButton" Text="登陆" onclick="Button1_Click"></asp:button><input class="searchButton" id="btnExit" onclick="window.close();" type="button" value="退出"
                                        name="btnExit">
                                </TD>
                            </TR>
                        </TABLE>
                    </TD>
                </TR>
                <br />
                <tr>
                    <td>
<uc2:WebFootControl ID="WebFootControl1" runat="server" />
                    </td>
                </tr>
            </TABLE>
        </form>
    </body>
</HTML>
搜索更多相关主题的帖子: Microsoft content PUBLIC title 
2013-11-18 15:24
kiltom
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2013-11-18
收藏
得分:0 
求翻译~~~
2013-11-19 10:36
快速回复:求C#代码翻译!!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.023032 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved