Revision: 21612
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 16, 2009 11:04 by tomaszsimon
Initial Code
DataTable table = DB.GetData(@"INSERT INTO [table_name] VALUES(values) SELECT id = SCOPE_IDENTITY()");
Initial URL
Initial Description
In DB.GetData(select) is executed new SqlDataAdapter(Select, dbConnection).Fill(table)
Initial Title
Getting id of inserted row
Initial Tags
aspnet
Initial Language
C#