⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 查找.cs

📁 用C#实现超市的管理
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Yewucheng;
namespace Myproject
{
    public partial class 查找 : Form
    {
        private 采购单据的查询 info;
        public 查找(采购单据的查询 obj)
        {
            InitializeComponent();
            this.info = obj;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            wang caigoudanjucz = new wang();
            DataSet ds = caigoudanjucz.SelectMand("SELECT NewTianjsp.商品名称, NewTianjsp.单位,NewTianjsp.规格型号,NewTianjsp.颜色,NewTianjsp.单价, NewTianjsp.数量 ,NewTianjsp.总金额 ,NewTianjsp.商品编号,NewTianjsp.生产厂商 ,Jinhoushping.单号,Jinhoushping.供货商 ,Jinhoushping.仓库名称,Jinhoushping.进货时间,Jinhoushping.应付金额,Jinhoushping.实收金额 ,Jinhoushping.经办人,Jinhoushping.原始单号 FROM NewTianjsp CROSS JOIN Jinhoushping where 商品名称='" + this.txt2.Text + "'");
            this.Hide();
            this.info.dbgname3.DataSource = ds.Tables[0].DefaultView;
        }

        private void button8_Click(object sender, EventArgs e)
        {
            销售客户查找 xiaoshou = new 销售客户查找();
            xiaoshou.Show();
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -