Dim dt as new DataTable Dim column As New DataColumn("項次", Type.GetType("System.Int32")) With column .AutoIncrement = True .AutoIncrementSeed = 1 .AutoIncrementStep = 1 End With dt.Columns.Add(column)
沒有留言:
張貼留言