C#进行Sqlserver数据库增删查改操作.docVIP

  • 17
  • 0
  • 约1.12万字
  • 约 14页
  • 2017-06-12 发布于北京
  • 举报
C#连接SQL Server数据库并进行增删查改操作 详细代码在下边,直接可以使用 设计好的C#界面: 共3个窗体。 数据库: 运行后的界面: 代码: (Form1) public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Form1_Load(sender, e); } private void Form1_Load(object sender, EventArgs e) { try { SqlConnection conn = new SqlConnection(); string str = Data Source=ZWEIQUAN-PC;Initial Catalog=Student;Integrated Security=True; co

文档评论(0)

1亿VIP精品文档

相关文档