视频网站源码


辛苦辛苦搞了三周的,通过了验收 完美运行
资源截图
代码片段和文件信息
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class GetPass : System.Web.UI.Page
{
  
    protected void Page_Load(object sender EventArgs e)
    {

    }
    protected void btnNext_Click(object sender EventArgs e)
    {
        //编写SQL语句查询输入的用户名是否存在
        string sqlSel = “select * from userRegister where userName=‘“ + txtName.Text + “‘“;
        //调用公共类中的getRow方法并接收返回的SqlDataReader对象
        SqlDataReader  sdr = operateData.getRow(sqlSel);
        //判读用户是否存在
        if (sdr.Read())
        {
            //隐藏输入用户名的panel
            PanelInputName.Visible = false;
            //显示输入密码提示问题的panel
            PanelGetPass.Visible = true;
            //显示密码提示问题
            txtQuestion.Text = sdr[“passQuestion“].ToString();
        }
        else
        {
            RegisterStartupscript(“false“ “ript>alert(‘用户名不存在!!‘)ript>“);
        }

    }

    protected void btnGet_Click(object sender EventArgs e)
    {
        //编写SQL语句查询用户注册信息
        string sqlSel = “select * from userRegister where userName=‘“ + txtName.Text + “‘“;
        SqlDataReader sdr = operateData.getRow(sqlSel);
        if (sdr.Read())
        {
            //判断用户输入的密码提示答案是否正确
            if (txtAnswer.Text == sdr[“passAnswer“].ToString())
            {
                //显示用户的密码
                txtPass.Text = sdr[“userPass“].ToString();
                RegisterStartupscript(“true“ “ript>alert(‘恭喜你密码已找回!!‘)ript>“);
            }
        }
    }
    
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       4386  2008-06-16 18:45  PlayVideoApp_CodeoperateData.cs

     文件       6296  2014-11-18 21:22  PlayVideoApp_CodeoperateMethod.cs

     文件    2097152  2011-03-29 11:37  PlayVideoApp_DataplayVideo_Data.MDF

     文件    1048576  2011-03-29 11:37  PlayVideoApp_DataplayVideo_Log.LDF

     文件       3691  2008-08-07 08:59  PlayVideocsscss.css

     文件       9733  2014-11-18 22:41  PlayVideoGetPass.aspx

     文件       2026  2008-04-22 18:41  PlayVideoGetPass.aspx.cs

     文件        122  2008-04-29 10:26  PlayVideoimages+.gif

     文件        849  2008-04-29 10:26  PlayVideoimages-.gif

     文件        338  2008-04-29 08:48  PlayVideoimages1.GIF

     文件        382  2008-04-29 08:48  PlayVideoimages10.gif

     文件        380  2008-04-29 08:45  PlayVideoimages2.gif

     文件        375  2008-04-29 08:46  PlayVideoimages3.gif

     文件        233  2008-04-29 08:46  PlayVideoimages4.gif

     文件        379  2008-04-29 08:46  PlayVideoimages5.gif

     文件        379  2008-04-29 08:46  PlayVideoimages6.gif

     文件        335  2008-04-29 08:47  PlayVideoimages7.gif

     文件        338  2008-04-29 08:47  PlayVideoimages8.gif

     文件        344  2008-04-29 08:47  PlayVideoimages9.gif

     文件       7914  2014-11-14 22:47  PlayVideoimagesa1.jpg

     文件      48434  2014-11-14 22:51  PlayVideoimagesa2.jpg

     文件      13481  2014-11-14 22:41  PlayVideoimagesad1.jpg

     文件       1604  2014-11-14 22:43  PlayVideoimagesad2.jpg

     文件     114977  2008-08-07 13:54  PlayVideoimagesbanner.jpg

     文件      10243  2008-04-29 10:43  PlayVideoimageseijing.gif

     文件        808  2008-04-29 11:00  PlayVideoimagesg.gif

     文件       1000  2008-04-28 18:09  PlayVideoimageschongzhi.gif

     文件        798  2008-04-18 17:04  PlayVideoimagesdefault.gif

     文件       1022  2008-04-28 18:09  PlayVideoimagesdenglu.gif

     文件       9043  2008-08-05 19:49  PlayVideoimagesdlbg_13.jpg

............此处省略215个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)