在数据库里有两张表,一个是StudentInfo,保存学生的基本信息,内容如下
ID Name
1 john
2 smith
3 terry
.........
第二个是StudentSco,保存学生的成绩
ID Score
1 98
2 100
3 60
........
StudentInfo是StudentSco的父表
现在我想在DataGridView控件里显示成如下格式
Name Score
john 98
smith 100
terry 60
请问有没有什么方法可以实现呢?
ID Name
1 john
2 smith
3 terry
.........
第二个是StudentSco,保存学生的成绩
ID Score
1 98
2 100
3 60
........
StudentInfo是StudentSco的父表
现在我想在DataGridView控件里显示成如下格式
Name Score
john 98
smith 100
terry 60
请问有没有什么方法可以实现呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货