tycrm/Fenxi/Gengzong/BaoJiaRy.aspx.cs
(完整代码) 2KBusing System;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Data.SqlClient;
using qpsmartweb.Public;
namespace tycrm.Fenxi.Gengzong
{
public partial class BaoJiaRy : System.Web.UI.Page
{
Db List = new Db();
BindDrowDownList list = new BindDrowDownList();
protected void Page_Load(object sender, EventArgs e)
{
if (this.Session["username"] == null)
{
this.Response.Write("<script language=javascript>alert('登陆超时!');window.parent.location = '/main_d.aspx'</script>");
return;
}
if (!Page.IsPostBack)
{
FqRealname.Attributes.Add("readonly", "readonly");
string sql_down_s1 = "select DISTINCT ProYear from qp_crm_FenxiMonth";
list.Bind_DropDownList_nothing(SYear, sql_down_s1, "ProYear", "ProYear");
string sql_down_s2 = "select DISTINCT ProMonth from qp_crm_FenxiMonth";
list.Bind_DropDownList_nothing(SMonth, sql_down_s2, "ProMonth", "ProMonth");
string sql_down_e1 = "select DISTINCT ProYear from qp_crm_FenxiMonth";
list.Bind_DropDownList_nothing(EYear, sql_down_e1, "ProYear", "ProYear");
string sql_down_e2 = "select DISTINCT ProMonth from qp_crm_FenxiMonth";
list.Bind_DropDownList_nothing(EMonth, sql_down_e2, "ProMonth", "ProMonth");
Button2.Attributes["onclick"] = "javascript:return check_form();";
SYear.SelectedValue = System.DateTime.Now.Year.ToString();
SMonth.SelectedValue = System.DateTime.Now.Month.ToString();
EYear.SelectedValue = System.DateTime.Now.Year.ToString();
EMonth.SelectedValue = System.DateTime.Now.Month.ToString();
}
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("BaoJiaRyList.aspx?UserId=" + FqUsername.Text + "0&SYear=" + SYear.SelectedValue + "&SMonth=" + SMonth.SelectedValue + "&EYear=" + EYear.SelectedValue + "&EMonth=" + EMonth.SelectedValue + "");
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
