亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ledgerquery.cs

?? 用vs2003和SQLServer2000開發(fā)的財務(wù)管理系統(tǒng)
?? CS
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace 財務(wù)管理系統(tǒng)
{
	/// <summary>
	/// LedgerQuery 的摘要說明。
	/// </summary>
	public class LedgerQuery : System.Windows.Forms.Form
	{
		private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
		private System.Data.DataView dataView1;
		private 財務(wù)管理系統(tǒng).DataSet1 dataSet11;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.DataGrid dataGrid1;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.Button btnSearch;
		private System.Windows.Forms.TextBox txt1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.CheckBox checkBox1;
		private System.Windows.Forms.Label label1;
		private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
		private System.Data.SqlClient.SqlConnection sqlConnection1;
		private System.ComponentModel.IContainer components;

		public LedgerQuery()
		{
			//
			// Windows 窗體設(shè)計器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 調(diào)用后添加任何構(gòu)造函數(shù)代碼
			//
		}

		/// <summary>
		/// 清理所有正在使用的資源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗體設(shè)計器生成的代碼
		/// <summary>
		/// 設(shè)計器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內(nèi)容。
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(LedgerQuery));
			this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter();
			this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
			this.dataView1 = new System.Data.DataView();
			this.dataSet11 = new 財務(wù)管理系統(tǒng).DataSet1();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.btnSearch = new System.Windows.Forms.Button();
			this.txt1 = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.dataGrid1 = new System.Windows.Forms.DataGrid();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.label1 = new System.Windows.Forms.Label();
			this.checkBox1 = new System.Windows.Forms.CheckBox();
			this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
			((System.ComponentModel.ISupportInitialize)(this.dataView1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
			this.groupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
			this.groupBox2.SuspendLayout();
			this.SuspendLayout();
			// 
			// sqlDataAdapter1
			// 
			this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
			this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
																									  new System.Data.Common.DataTableMapping("Table", "本期匯總賬簿", new System.Data.Common.DataColumnMapping[] {
																																																				new System.Data.Common.DataColumnMapping("科目名稱", "科目名稱"),
																																																				new System.Data.Common.DataColumnMapping("科目代碼", "科目代碼"),
																																																				new System.Data.Common.DataColumnMapping("會計期間", "會計期間"),
																																																				new System.Data.Common.DataColumnMapping("期初余額", "期初余額"),
																																																				new System.Data.Common.DataColumnMapping("本期借方合計", "本期借方合計"),
																																																				new System.Data.Common.DataColumnMapping("本期貸方合計", "本期貸方合計"),
																																																				new System.Data.Common.DataColumnMapping("本年借方累計", "本年借方累計"),
																																																				new System.Data.Common.DataColumnMapping("本年貸方累計", "本年貸方累計"),
																																																				new System.Data.Common.DataColumnMapping("余額", "余額"),
																																																				new System.Data.Common.DataColumnMapping("余額方向", "余額方向")})});
			// 
			// sqlSelectCommand1
			// 
			this.sqlSelectCommand1.CommandText = "SELECT b.科目名稱, a.科目代碼, a.會計期間, a.期初余額, a.本期借方合計, a.本期貸方合計, a.本年借方累計, a.本年貸方累計, a." +
				"余額, a.余額方向 FROM 本期匯總賬簿 a INNER JOIN 科目表 b ON a.科目代碼 = b.科目代碼 WHERE (a.科目代碼 LIKE " +
				"@Param4)";
			this.sqlSelectCommand1.Connection = this.sqlConnection1;
			this.sqlSelectCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Param4", System.Data.SqlDbType.VarChar, 20, "科目代碼"));
			// 
			// dataView1
			// 
			this.dataView1.Table = this.dataSet11.本期匯總賬簿;
			// 
			// dataSet11
			// 
			this.dataSet11.DataSetName = "DataSet1";
			this.dataSet11.Locale = new System.Globalization.CultureInfo("zh-CN");
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.btnSearch);
			this.groupBox1.Controls.Add(this.txt1);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Location = new System.Drawing.Point(0, 0);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(720, 64);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			// 
			// btnSearch
			// 
			this.btnSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnSearch.Image")));
			this.btnSearch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.btnSearch.Location = new System.Drawing.Point(72, 28);
			this.btnSearch.Name = "btnSearch";
			this.btnSearch.Size = new System.Drawing.Size(72, 23);
			this.btnSearch.TabIndex = 6;
			this.btnSearch.Text = " 搜索";
			this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
			// 
			// txt1
			// 
			this.txt1.Location = new System.Drawing.Point(264, 28);
			this.txt1.Name = "txt1";
			this.txt1.TabIndex = 8;
			this.txt1.Text = "";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(208, 32);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(56, 16);
			this.label2.TabIndex = 7;
			this.label2.Text = "憑證編號";
			// 
			// dataGrid1
			// 
			this.dataGrid1.CaptionVisible = false;
			this.dataGrid1.DataMember = "";
			this.dataGrid1.DataSource = this.dataView1;
			this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGrid1.Location = new System.Drawing.Point(0, 136);
			this.dataGrid1.Name = "dataGrid1";
			this.dataGrid1.ReadOnly = true;
			this.dataGrid1.Size = new System.Drawing.Size(720, 352);
			this.dataGrid1.TabIndex = 1;
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.label1);
			this.groupBox2.Controls.Add(this.checkBox1);
			this.groupBox2.Location = new System.Drawing.Point(0, 64);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(720, 72);
			this.groupBox2.TabIndex = 31;
			this.groupBox2.TabStop = false;
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(272, 32);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(344, 32);
			this.label1.TabIndex = 1;
			this.label1.Text = "需要查詢會計歷史區(qū)的帳簿,需要在期末結(jié)帳時將【本期匯總帳簿】表的數(shù)據(jù)導(dǎo)入歷史,實(shí)例不提供";
			// 
			// checkBox1
			// 
			this.checkBox1.Location = new System.Drawing.Point(72, 32);
			this.checkBox1.Name = "checkBox1";
			this.checkBox1.Size = new System.Drawing.Size(152, 32);
			this.checkBox1.TabIndex = 0;
			this.checkBox1.Text = "無發(fā)生金額不顯示";
			this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
			// 
			// sqlConnection1
			// 
			this.sqlConnection1.ConnectionString = "workstation id=localhost;packet size=4096;integrated security=SSPI;initial catalo" +
				"g=caiwubook;persist security info=False";
			// 
			// LedgerQuery
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(720, 485);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.dataGrid1);
			this.Controls.Add(this.groupBox1);
			this.Name = "LedgerQuery";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "【總分類帳查詢】";
			this.Load += new System.EventHandler(this.LedgerQuery_Load);
			((System.ComponentModel.ISupportInitialize)(this.dataView1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit();
			this.groupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
			this.groupBox2.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		//----------顯示窗口時讀入全部數(shù)據(jù)--------------
		private void LedgerQuery_Load(object sender, System.EventArgs e)
		{
			sqlDataAdapter1.SelectCommand.Parameters[0].Value="%%";
			sqlDataAdapter1.Fill(dataSet11);
		}

		//-----------根據(jù)有無發(fā)生金額篩選顯示的數(shù)據(jù)------------
		private void checkBox1_CheckedChanged(object sender, System.EventArgs e)
		{
			if(checkBox1.Checked)
				dataView1.RowFilter="余額<>0";
			else
				dataView1.RowFilter="";
		}

		//------------根據(jù)科目代碼選擇數(shù)據(jù)------------
		private void btnSearch_Click(object sender, System.EventArgs e)
		{
			sqlDataAdapter1.SelectCommand.Parameters[0].Value="%%";
			if(txt1.Text.Trim()!=null)
			{
				sqlDataAdapter1.SelectCommand.Parameters[0].Value="%"+txt1.Text.Trim()+"%";
				dataSet11.Clear();
				sqlDataAdapter1.Fill(dataSet11);
			}



		}
	}
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本一区二区三区高清不卡 | www.久久久久久久久| 国产精品日日摸夜夜摸av| 色婷婷av一区二区三区gif| 日韩高清不卡一区二区| 欧美激情综合五月色丁香| 欧美日韩亚洲综合| 国产成人鲁色资源国产91色综 | 成人动漫精品一区二区| 国产麻豆日韩欧美久久| 免费精品视频在线| 亚洲不卡一区二区三区| 一区二区三区日韩欧美精品| 亚洲欧美日韩精品久久久久| 国产嫩草影院久久久久| 中文字幕av一区二区三区| 午夜精彩视频在线观看不卡| 欧美一级二级三级蜜桃| 777xxx欧美| 亚洲毛片av在线| 亚洲综合免费观看高清完整版 | 欧美三级在线看| 欧美日韩色综合| 精品国产一区二区三区四区四| 日韩区在线观看| 精品国产电影一区二区| 久久综合久久久久88| 精品国偷自产国产一区| 久久精品无码一区二区三区| 国产精品网站在线| 中文字幕日韩精品一区| 一区二区理论电影在线观看| 天天色天天操综合| 久久99热这里只有精品| 粉嫩蜜臀av国产精品网站| 91小视频免费观看| 91精品国产综合久久精品app| 精品福利av导航| 亚洲午夜在线观看视频在线| 粉嫩久久99精品久久久久久夜 | **性色生活片久久毛片| 亚洲精品视频观看| 石原莉奈在线亚洲三区| 国产一区二区电影| 欧美三级日韩在线| 国产精品无人区| 久久国产人妖系列| 欧美日韩精品一区二区| 中文字幕一区在线观看| 麻豆精品国产传媒mv男同| 色天使色偷偷av一区二区| 日韩午夜在线观看视频| 亚洲精品亚洲人成人网在线播放| 精品一区二区三区香蕉蜜桃| 在线播放一区二区三区| 亚洲精品你懂的| 91免费小视频| 中文字幕日韩精品一区| 国产精品亚洲一区二区三区妖精| 欧美精品在线一区二区| 亚洲一区二区三区爽爽爽爽爽| 99久久精品国产网站| 国产精品免费av| 成人性生交大片免费看视频在线| 日韩欧美高清dvd碟片| 蜜臀av性久久久久蜜臀aⅴ四虎| 在线视频综合导航| 亚洲与欧洲av电影| 欧美老女人在线| 捆绑调教一区二区三区| 精品久久久三级丝袜| 九九**精品视频免费播放| 日韩欧美国产高清| 国产ts人妖一区二区| 国产精品美女久久久久久久 | 国产真实乱偷精品视频免| 久久久久久久久蜜桃| 国产成人av一区二区| 亚洲人妖av一区二区| 3atv一区二区三区| 成人亚洲一区二区一| 亚洲成av人片| 久久精品男人天堂av| 99re这里只有精品6| 亚洲成年人影院| 久久综合五月天婷婷伊人| 色欧美片视频在线观看| 美女爽到高潮91| 国产精品看片你懂得| 欧美日韩国产高清一区| 国产不卡在线播放| 一区二区三区自拍| 亚洲国产精品成人综合色在线婷婷| 91一区二区三区在线观看| 久久精品国产亚洲高清剧情介绍| 国产精品无人区| 欧美电影免费观看完整版| 色综合天天综合在线视频| 国产麻豆一精品一av一免费 | 国产精品一区二区久久不卡| 亚洲一区中文日韩| 国产精品嫩草99a| 精品伦理精品一区| 欧美日韩国产大片| 91黄色免费观看| 91丨porny丨蝌蚪视频| 国产一区二区中文字幕| 日本免费在线视频不卡一不卡二| 亚洲三级电影全部在线观看高清| 久久久久久久综合色一本| 91麻豆精品国产自产在线观看一区| 91色九色蝌蚪| av中文字幕一区| 97久久精品人人爽人人爽蜜臀| 国产成人综合视频| 粉嫩av一区二区三区| 国产成人午夜片在线观看高清观看| 日日夜夜一区二区| 日本亚洲三级在线| 麻豆成人av在线| 国产伦精品一区二区三区免费迷| 久久99久久99| 国产91精品免费| eeuss国产一区二区三区| 成人激情免费电影网址| 91浏览器入口在线观看| 91国偷自产一区二区三区成为亚洲经典| 99re成人在线| 777亚洲妇女| 国产欧美一区二区在线观看| 国产精品久久午夜| 亚洲国产日韩av| 国产在线一区观看| 91精品福利视频| 欧美不卡视频一区| 中文字幕一区不卡| 日韩电影免费在线观看网站| 精品无人码麻豆乱码1区2区| 91在线一区二区三区| 欧美日韩精品欧美日韩精品| 国产三级欧美三级| 亚洲成人中文在线| 国产成人精品免费| 7777精品伊人久久久大香线蕉经典版下载 | 天天亚洲美女在线视频| 国产高清久久久| 欧美精品一二三区| 国产精品拍天天在线| 视频在线在亚洲| 97久久精品人人澡人人爽| 欧美大片在线观看一区| 亚洲国产一区二区视频| 国产激情精品久久久第一区二区 | 欧美夫妻性生活| 亚洲人123区| 成人激情综合网站| www国产成人免费观看视频 深夜成人网| 亚洲美女视频一区| 99视频精品在线| 久久午夜色播影院免费高清| 日韩精品91亚洲二区在线观看| av在线免费不卡| 日韩毛片在线免费观看| 国产 欧美在线| 国产精品伦理一区二区| 国产成人自拍网| 欧美高清一级片在线观看| 国产精品一区二区久久精品爱涩| 久久综合成人精品亚洲另类欧美| 奇米影视一区二区三区| 欧美老肥妇做.爰bbww| 亚洲mv大片欧洲mv大片精品| 欧美区一区二区三区| 午夜精品久久久久久久99水蜜桃| 在线视频观看一区| 日日夜夜精品免费视频| 久久综合成人精品亚洲另类欧美 | 久久久夜色精品亚洲| www.99精品| 亚洲综合一区二区| 国产精品久久久久婷婷二区次| 国精品**一区二区三区在线蜜桃| 久久蜜桃av一区二区天堂| 成人av电影在线网| 亚洲日穴在线视频| 91麻豆精品国产91久久久久久| 精品一区二区三区免费| 中文字幕一区二区三区四区| 欧美在线观看视频一区二区 | 亚洲免费视频中文字幕| 欧美肥妇毛茸茸| 国产精品 欧美精品| 一区二区三区四区不卡视频| 91精品久久久久久久久99蜜臂| 国产精品一区二区x88av| 亚洲一区二区三区四区五区中文| 欧美成人一区二区三区 | 在线观看视频91| 成人一道本在线| 麻豆国产精品官网|