2
我有一個二維數組的字符串我需要添加項目到這個數組基於一定的條件。添加動態值到字符串的二維數組
Dim mainColumnsSummary(,) As String
mainColumnsSummary = { _
{"slNo", "#", "Number", "30", True, ""}, _
{"assessmentDate", "Assessment Date", "DateTime", "100", True, ""}, _
{"assetDescription", "Description and function of asset", "String", "100", True, ""}, _
{"assetScope", "Scope of assessment", "String", "100", True, ""}, _
{"assetHazards", "Hazard identification", "String", "100", True, ""} _
} if dtTable.rows.count>0 then
' I need to add dtTable.rows(x)("Question") to this array. where x should take values from 0 to dtTable.row.count-1
我怎樣才能得到這樣的結果。 請幫我使用vb.net的代碼。