web/Businessliuyan.aspx.cs

(开头部分) 1KB

这里只显示每个文件的开头 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;
using System.Data.SqlClient;
using US.Model;
using US.DBUtility;
using US.Dal;
using US.CommonLib;

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

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        MessagesInfo a = new MessagesInfo();
        a.Vc_Nname = TextBox1.Text;
        a.Vc_Status = RadioButtonList1.SelectedItem.ToString();
        a.Vc_Phone = TextBox2.Text;
        a.Vc_Email = TextBox3.Text;
        a.Vc_Title = TextBox4.Text;
        a.Vc_form = TextBox5.Text;
        a.Dt_TianTime = DateTime.Now.ToString();
        MessagedManage gu = new MessagedManage();
        int ret = gu.MessageAdd(a);
        if (ret == 0)
        {
            JavaScriptHelper.Alert("留言提交成功!");
        }
        else
        {
            JavaScriptHelper.Alert("留言提交失败!");
        }
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        RadioButtonList1.SelectedIndex = 0;
        TextBox1.Text = "";
        TextBox2.Text = "";
        TextBox3.Text = "";
        TextBox4.Text = "";
        TextBox5.Text = "";
    }
    protected void LinkButton3_Click(object sender, EventArgs e)
    {
        Response.Redirect("index.aspx");
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        string id = Session["i_BUId"].ToString();
        Response.Redirect("Businessshouye.aspx");
后面还有 2 行代码,购买后查看完整代码

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

AI 解读 AI

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

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