close

DataColumn workColumn = workTable.Columns.Add(
    "CustomerID", typeof(Int32));
workColumn.AutoIncrement = true;//重點在這裡
workColumn.AutoIncrementSeed = 200;//起始值
workColumn.AutoIncrementStep = 3;//每次累加3


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 pagichang 的頭像
    pagichang

    pagichang

    pagichang 發表在 痞客邦 留言(0) 人氣()