將資料顯示在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

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 湯瑪的吳 的頭像
    湯瑪的吳

    安達利機車行

    湯瑪的吳 發表在 痞客邦 留言(0) 人氣()