private void button1_Click_1(object sender, EventArgs e)
{
SqlConnection conn = new SqlConnection(Properties.Settings.Default.考试系统ConnectionString);
adapter = new SqlDataAdapter("select * from 学生表", conn);
// SqlCommandBuilder builder = new SqlCommandBuilder(adapter );
// adapter.InsertCommand = builder.GetInsertCommand();
// adapter.DeleteCommand = builder.GetDeleteCommand();
// adapter.UpdateCommand = builder.GetUpdateCommand();
table = new DataTable();
adapter.Fill(table);
this.学生表DataGridView.DataSource = table;
DataRow newrow = table.NewRow();
newrow["姓名"] = textBox1.Text;
newrow["学号"] = textBox2.Text;
table.Rows.Add(newrow);
没有合适的资源?快使用搜索试试~ 我知道了~
C#课程设计(考试系统).rar

共68个文件
cs:21个
resources:9个
resx:9个


温馨提示
C#课程设计-考试系统,使用前请先加载数据库,仅供学习交流!
资源详情
资源评论
资源推荐
收起资源包目录














































































共 68 条
- 1



















nostopping
- 粉丝: 24
- 资源: 65
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


安全验证
文档复制为VIP权益,开通VIP直接复制

评论2