比如代码
For i as integer = 1 to 4
Dim ndr As DataRow = DatataTables("雪莉").AddNew
ndr("英雄职业") = cm.text
ndr("材料") = dr("材料" & i)
ndr("数量") = dr("数量" & i)
Next