Winform 操作 Access 数据库关键核心代码 -------------------------------- 痴心长剑 .W 开发技术系列文档
Copyright ? 痴心长剑 .W 1 / 5
antivon
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TT
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
if (textBox1.Text == "" || textBox2.Text == "" || textBox3.Text == "" || textBox4.Text == "")
{
MessageBox.Show(" 请 输 入 完 整 的 信 息 ! ", " 信 息 提 示 ", System.Windows.Forms.MessageBoxButtons.OK,
MessageBoxIcon.Warning);
}
评论1
最新资源