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

📄 shanchu.cs

📁 Vs2005C#图书管理系统初学的看看有好处的
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace tsh
{
    public partial class shanchu : Form
    {
        public shanchu()
        {
            InitializeComponent();
        }
        DB.ClsSQL sql = new DB.ClsSQL(".", "mylw", "sa", "", 3);
        //duzheleibieguanli dzl = new duzheleibieguanli();
        private string lb;
        private string shsh;
        private string tsh;
        public string Lb
        {
            get { return lb; }
            set { lb = value; }
        }
        public string Shushu
        {
            get { return shsh; }
            set { shsh = value; }
        }
        public string Tsh
        {
            get { return tsh; }
            set { tsh = value; }
        }
        private void button1_Click(object sender, EventArgs e)
        {
            string s = "delete from readerc where duzheleibie='" + textBox1.Text.Trim() + "'";
            sql.SQLCommand(s);
            MessageBox.Show("删除成功!!!", "信息提示");
            this.Close();
        }

        private void shanchu_Load(object sender, EventArgs e)
        {
            textBox1.Text = lb;
            textBox2.Text = shsh;
            textBox3.Text = tsh;
           // MessageBox.Show("" + textBox1.Text + "");
        }

      
    }
}

⌨️ 快捷键说明

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