隨能幫我解答.......嗚嗚~~(編號:771)

For i = 0 To 3
For j = 2 To 4
DataGrid1.Row = i
Text2.Text = DataGrid1.Columns(j)
If Text2.Text <> "" Then
    temp(counter) = Text2.Text
  End If
 Next
Next
For member = 0 To counter
For i = 0 To 3
  For j = 2 To 4
   DataGrid1.Row = i
   DataGrid1.Columns(j) = temp(member)
  Next
Next
Next
上面的程式要把datagrid的值傳到一個陣列.....空白就跳過
再重新一個一個排進datagrid....
但是為何我執行完後變成全部欄位都是最後一個值了...
希望大家幫我看看哪裡錯了!! 謝謝~~~~~~