Archive for April 25th, 2009

Using SCOPE_IDENTITY() with ObjectDataSource

ASP.NET, SQL 25.4.2009 No Comments

Microsoft’s introduction of the ObjectDatasource in ASP.NET 2.0 was a great addition. It saves developers alot of time once they are familar with the controls. The problem is that what seemed like simple tasks when coding everything by hand sometimes became more difficult to figure out. For example, how do I return the identity seed…

Read More