求助!用命令修改dataset里的某一字段值,我用的是vb2010,望各位指教!!
public Class Form1Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: 这行代码将数据加载到表“JxlrksDataSet.student”中。您可以根据需要移动或删除它。
Me.StudentTableAdapter.Fill(Me.JxlrksDataSet.student)
'TODO: 这行代码将数据加载到表“JxlrksDataSet.Paper”中。您可以根据需要移动或删除它。
Me.PaperTableAdapter.Fill(Me.JxlrksDataSet.Paper)
End Sub
Private Sub StudentSSToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
Private Sub Button101_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button101.Click
Me.PaperBindingSource.MovePrevious()
End Sub
Private Sub Button102_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button102.Click
Me.PaperBindingSource.MoveNext()
End Sub
Private Sub Button103_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button103.Click
'在paper表中有姓名 性别 年龄 临时成绩
'有120人,我想用按钮修改“临时成绩”,按钮这里的命令怎么写啊!!!!每按一次加一分!
'就是用命令修改dataset里的某一字段值,我用的是vb2010,望各位指教!!
End Sub
End Class
[ 本帖最后由 gsnake 于 2012-7-20 22:53 编辑 ]