Backup1/commonpersonnel.aspx.cs

(开头部分) 2KB

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

using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Configuration;

namespace PMS
{
	/// <summary>
	/// commonpersonnel 的摘要说明。
	/// </summary>
	//该源码下载自www.51aspx.com(51aspx.com)

	public class commonpersonnel : System.Web.UI.Page
	{
		protected System.Web.UI.WebControls.Button Btn_information;
		protected System.Web.UI.WebControls.Button Btn_transfer;
		protected System.Web.UI.WebControls.Button Btn_randp;
		protected System.Web.UI.WebControls.DataGrid Dg_display;
		protected System.Web.UI.WebControls.Label Lbl_message;
		SqlConnection cn;
		SqlCommand cm;
		private void Page_Load(object sender, System.EventArgs e)
		{
			// 在此处放置用户代码以初始化页面
			string strconn= ConfigurationSettings.AppSettings["dsn"];
			cn=new SqlConnection(strconn);
			cm=new SqlCommand("select_personnel_information_2",cn);
			Bindgrid();
		}

		#region Web Form Designer generated code
		override protected void OnInit(EventArgs e)
		{
			//
			// CODEGEN:该调用是 ASP.NET Web 窗体设计器所必需的。
			//
			InitializeComponent();
			base.OnInit(e);
		}
		
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{    
			this.Btn_information.Click += new System.EventHandler(this.Btn_information_Click);
			this.Btn_transfer.Click += new System.EventHandler(this.Btn_transfer_Click);
			this.Btn_randp.Click += new System.EventHandler(this.Btn_randp_Click);
			this.Load += new System.EventHandler(this.Page_Load);

		}
后面还有 36 行代码,解锁后查看完整代码

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

AI 解读

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

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