for循環如果if條件未滿足,如何遞增到下一行並添加新成員。in for loop如何增加數據表中的行
例如。
for i ...to ..row.count
if condition to compare...if member exists then ....
(not Met)
increment the row in the data table and (goto)
else
(add a new member to a new row in datatable)
endif
next
請參閱MSDN頁http://msdn.microsoft.com/en-us/library/system.data.datatable.rows(VS.71).aspx – 2011-05-03 02:12:49