中国程序员和其它程序员的区别

看到一篇文章是 于中国程序 和日本程序 的,很有意思

JAPAN :
  Dim gridItemIndex As Integer 'comment
  Dim currentPageIndex As Integer 'comment
  Dim pageSize As Integer 'comment

  gridItemIndex = e.Item.ItemIndex
  currentPageIndex = meisaiIchiran.CurrentPageIndex
  pageSize = meisaiIchiran.PageSize

  Dim updateDataRowIndex As Integer 'comment
  updateDataRowIndex = (currentPageIndex * pageSize) + gridItemIndex
  dt.Rows(updateDataRowIndex).Item(t.BindFldName) = txt

CHINA :
  dt.Rows(.CurrentPageIndex * .PageSize + e.Item.ItemIndex).Item(t.BindFldName) = txt

 

你可能感兴趣的:(中国程序员和其它程序员的区别)