我有一个二维字符串数组,我需要根据某些条件将项目添加到该数组中。
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 中的代码。