does sqldatasource insert method return anything like primary key?
Posted on 2006-03-21
i have a primary key column that is uniqueidentifier and has default to newID() or I have another table with autoincrment set to 1 for a primary key column of type int. I was just wondering when using vs2005 and calling the insert method using the sqldatasource object if i can find out what key value the database assigned to the new row that was inserted? i have tried cating the sqldatasource inserted event and not sure if the answer is in there or not?