导入数据包:
using System.Data.OleDb;
连接数据库三步骤:
//1.语句
string sql = "delete from goodstb where gId=" + id;
//2.操作对象
OleDbCommand command = new OleDbCommand(sql, conn);
//3.执行操作
int count = command.ExecuteNonQuery();
就没|是是是|头发
---|---|---
111|111|333
网友评论