谢谢大家,其实就是数据库中的连接!!!
搞明白就好了,呵呵
SELECT dbo.studentGrade.chinese, dbo.studentGrade.math, dbo.studentGrade.english, dbo.studentGrade.zhengzhi FROM dbo.student INNER JOIN dbo.studentGrade ON dbo.student.stuID = dbo.studentGrade.stuID where dbo.student.stuID='" + txtID.Text + "'