Hello,
I originally posted this field elsewhere, but I guess it is more of a ADO.NET question. I have a table that looks like this:
ID int
Name varchar(50)
Description varchar(512) NULL
When I add a new record via ADO.NET code, it looks like this:
Code:
dim objRow as DataRow = objTable.NewRow()
objRow("Name") = strName
objRow("Description") = strDescription
objTable.Rows.Add(objRow)
I assumed that when you get the data source from a stored procedure, that it would establish an identity. However, I guess this means that it doesn't? Anyway, if I were to set up the column to be an identity, how can I get the identity field to start where I left off? Do I not have to establish the AutoIncrementSeed but do establish an AutoIncrementStep of 1?
Thanks,
Brian Mains