C#网络应用编程基础 教学课件 作者 马骏习题答案 第08章 习题解答.docVIP

  • 2
  • 0
  • 约8.96千字
  • 约 6页
  • 2019-10-04 发布于广东
  • 举报

C#网络应用编程基础 教学课件 作者 马骏习题答案 第08章 习题解答.doc

第8章 ADO.NET与SQL Server 第8章 ADO.NET与SQL Server PAGE 2 PAGE 1 习题8 参考解答 1. 使用保持连接的方式编写程序,计算各年级平均成绩,并显示结果。 【解答】 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 习题8_6_1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } //添加Button按钮在ListBox中显示结果 private void button1_Click(object sender, EventArgs e) { listBox1.Items.Add(年级 平均成绩);

文档评论(0)

1亿VIP精品文档

相关文档