try this
Dim nsrno As DataColumn = New DataColumn("No")
nsrno.AutoIncrement = True
nsrno.AutoIncrementSeed = 1
nsrno.DataType = System.Type.GetType("System.Int16")
datatable.Columns.Add(nsrno)On May 4, 5:19 pm, [email protected] wrote: > Hi All > > Please tell me How to add Identity clolumn in exixting DataSet using Vb .net > > Regards > Kapil
