In my Visual Studio 2008 ASP.NET web page codebehind, I am calling an add routine in an SQL tableadapter, as follows.
NewLabID = LabItem.AddLaborIt
ExecuteNonQuery returns the number of rows affected. You will want to use ExecuteScalar() instead.