huiyuanchongzhi_add.aspx.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

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;

public partial class huiyuanchongzhi_add : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
		if (!IsPostBack)
        {
			
			
			
            
			
			 
			
			  string sqllb = "select * from huiyuanxinxi where id=" + Request.QueryString["id"].ToString().Trim();
			  DataSet resultlb = new DataSet();
			  resultlb = new Class1().hsggetdata(sqllb);
			  if (resultlb != null)
			  {
			    if (resultlb.Tables[0].Rows.Count > 0)
			     {
                     huiyuanhao.Text = resultlb.Tables[0].Rows[0]["huiyuanhao"].ToString().Trim();
                     huiyuanhao.ReadOnly = true;
                     xingming.Text = resultlb.Tables[0].Rows[0]["xingming"].ToString().Trim();
                     xingming.ReadOnly = true;

			     }
			  }
			
           
        }
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
		
        string sql;
		
		
		ischongfu("select id from huiyuanchongzhi where  huiyuanhao='"+huiyuanhao.Text.ToString().Trim()+"'");
		
		
        sql="insert into huiyuanchongzhi(huiyuanhao,xingming,chongzhijine,chongzhishijian) values('"+huiyuanhao.Text.ToString().Trim()+"','"+xingming.Text.ToString().Trim()+"','"+chongzhijine.Text.ToString().Trim()+"','"+chongzhishijian.Text.ToString().Trim()+"') ";
        int result;
        result = new Class1().hsgexucute(sql);
        sql = "update huiyuanxinxi set yue=yue+" + chongzhijine.Text.ToString().Trim() + " where huiyuanhao='" + huiyuanhao.Text.ToString().Trim() + "'";
        result = new Class1().hsgexucute(sql);
        sql = "update huiyuanxinxi set jifen=jifen+" + chongzhijine.Text.ToString().Trim() + " where huiyuanhao='" + huiyuanhao.Text.ToString().Trim() + "'";
        result = new Class1().hsgexucute(sql);
        if (result == 1)
        {
后面还有 32 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。