oaPro/qs_wenjian/wenjianchuansong.aspx.cs

(开头部分) 4KB

这里只显示每个文件的开头 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 System.Collections.Generic;
using COM.OA.Entity;
using COM.OA.BLL;

public partial class qs_wenjian_jiqunchuansong : System.Web.UI.Page
{
   
protected void Page_Load(object sender, EventArgs e)
    {
       
    }
    //部门连动出员工
    protected void ddl_bumen_SelectedIndexChanged(object sender, EventArgs e)
    {
        String bumen = this.ddl_bumen.Text;

        // String where = "em_dept_id='{0}'";
        //  where = string.Format(where,bumen);
        //   IList<employee> list = employeeBLL.Select(where);


        SqlParameter parambumen = new SqlParameter("@deptid", bumen);
        IList<liandongrenqs> lists = BLLGeneric.Select<liandongrenqs>(CommandType.StoredProcedure, "liandongqs", parambumen);
        this.ddl_duixiang.DataSource = lists;
        this.ddl_duixiang.DataTextField = "u_username";
        this.ddl_duixiang.DataValueField = "u_username";
        //this.ddl_duixiang.DataValueField = "Em_id";
        this.ddl_duixiang.DataBind();
    }
    //清除
    protected void Button4_Click(object sender, EventArgs e)
    {
        this.txt_jieshouren.Text = "";
    }
    //增加按钮
    protected void Button1_Click(object sender, EventArgs e)
    {

        string duixiang = this.ddl_duixiang.Text;

        this.txt_jieshouren.Text = duixiang;
    }

    protected void btQingKong_Click(object sender, EventArgs e)
    {
        this.ddl_bumen.Text = "0";
        this.ddl_duixiang.Text = "0";
      
        this.txt_jieshouren.Text = "";
后面还有 103 行代码,购买后查看完整代码

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

AI 解读

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

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