Private Sub bindTextBox(ByVal row As Int16)
Dim str1 As String
Dim str2 As String
Me.CmbClass.Text = BindClass(Me.DataGrid1.Item(row, 0))
Me.CmbCourse.Text = Me.DataGrid1.Item(row, 1)
str1 = Me.DataGrid1.Item(row, 2)
str2 = Me.DataGrid1.Item(row, 3)
Me.CmbStudent.Text = str2 + "|" + str1
Me.TxtResult.Text = Me.DataGrid1.Item(row, 4)
Me.TxtTeacher.Text = Me.DataGrid1.Item(row, 5)
Me.InDate.value = Me.DataGrid1.Item(row, 6)
End Sub
运行vb后这句Private Sub bindTextBox(ByVal row As Int16)有问题。
我再做一个信息系统,有关vb和SQL。寻求帮助,谢谢!