將資料顯示在Grid上時,
如果要取得Grid的CellValue和CellText
請參照下面的做法
Dim cell_value AS String
Dim cell_Text AS String
For i As Integer = 0 To Me.tdgd_student.Splits(0).Rows.Count - 1
cell_value = Me.tdgd_student.Columns("sd_stud_no").CellValue(i).ToString
cell_Text = Me.tdgd_student.Columns("sd_edu_system_no").CellText(i).ToString
Next
全站熱搜
留言列表