Developers Tutorials in ASP, PHP, ASP.NET, JSP, Python AND Ruby
 
Classic ASP ASP.NET PHP/mySQL JSP/Servlet Ajax Ruby Python Cold Fusion Perl Grails
  Home |   Topics |   Search |   Login / Register |   Rss Feeds


Topics
» Classic ASP
» ASP.NET
» PHP/mySQL
» JSP/Servlet
» Ajax
» Ruby
» Python
» Cold Fusion
» Perl
» Grails
Search news
Search for:

My Account
Email:

Password:


Register
Forgot password?

Listed in ASPin.com




site statistics



CodeSnip: How to Get Id of the Record Using ASP.NET and SQL Server 2000



In this code snippet we will examine how to get Id of the newly added record using ASP.NET and SQL Server 2000.

We come across cases where we have to get the Id for the newly inserted record.  The Id in our case is an IDENTITY field.  The retrieval of this Id can be done in a variety of ways.  In this article we will see one of the techniques on how we can achieve this retrieval.  We will use the TSQL function, SCOPE_IDENTITY(), that gives us the last identity value generated in the current scope of the current process.




Title: CodeSnip: How to Get Id of the Record Using ASP.NET and SQL Server 2000
Submit Date: Sunday, October 07, 2007
Last viewed at: Thursday, September 02, 2010
Today Hit: 1
All Time Hit: 99
Reviewed : 0 times
Voted : 0 times
Av. rating :
View tutorial
(0) posts Discuss (0 posts)      

More latest headlines in ASP.NET
In this article, Sergey examines the role of cross domain access policy in Silverlight. After a short introduction, he examines the interaction between client and server as well as a list of threats which may occur in rich internet applications. He also provides steps to take in order to prevent attacks and operation of Crossdomain Client Access Policy with the help of relevant screenshots and source code.

In this article, I will illustrate how LINQ makes the relation between objects and data easy to deal with. I will also use code samples to make a comparison between regular code and LINQ code.

Explore the process of creating the files to support DeepZoom composition (image pyramids and dz xml files). Assumes a basic understanding of deepzoom. The foundation for the article can be seen on my blog: problog.jamespritz.com.

This article describes the basics of developing an animation application using the Silverlight Application project found in Visual Studio 2008 SP1.

It displays various status information about the current upload, just like pure HTML progress bar but instead of popup window it uses an inline progress bar with the AJAX technology. KFileUploadPlusProgressBa r Control takes full advantage of AJAX and the new features of Microsoft's next- generation IDE - Visual Studio .NET 2005, hence allowing developers to enjoy significant productivity gains, while delivering feature-rich, standards-compliant and cross- browser compatible web applications. developers to enjoy significant productivity gains, while delivering feature-rich, standards-compliant and cross-browser compatible web applications. Features AJAX Technology KFileUploadPlusProgressBa r Control is new AJAX based Progress Bar for KUpload+, which takes full advantage of the AJAX Technology and the new features of Microsoft's next-generation IDE...

Since then, mailing lists, newsgroups, and web sites have sprung up containing a mixture of code samples, applications, and articles of various forms. Even if you're not a programmer using existing ASP technology, it's a good bet that you've at least heard of .NET, even if you aren't quite sure what it involves. After all, there's so much information about .NET, that it's sometimes hard to filter out what you need from what's available. With new languages, new designers, and new ways of programming, you might wonder exactly what you need to write ASP.NET applications.

A Sample Chapter from "Beginning ASP.NET using VB.NET". Topics covered include: Static Web Pages Dynamic Web Pages; An overview of the different technologies for creating dynamic web pages, including ASP.NET; Installing Internet Information Services (IIS); Installing the .NET Framework; and Testing and Troubleshooting your installation.

Now that we have developed our website, we need to deploy it � prepare and distribute the site so that users can access it.

The release of ASP.NET forces us to reconsider many preconceptions about the deployment of websites.


Programming an ASP.NET application is significantly different than programming in ASP.old. The difference can be likened to the change that occurred when moving from QuickBasic programming to Visual Basic programming.

Hi all, here are some quick tips to get you started, in case you need to migrate a J2EE based application to a .NET based application.

We approach the migration tier wise. Firstly, a technology mapping between both the platforms








What's New
Cross domain access policy in Silverlight applications
LINQ the Bridge between the world of Objects & the world of Data
Dynamically creating DeepZoom composition
DoubleAnimation Basics with Silverlight Application
Display Paged Recordset Data
GetRows VBScript Class - Part III: Paging the results
ASP & MySQL Record Paging
Ways to get Alphabetical Paging for your ASP scripts
Sorting Database Records
Recordset Paging Script

Most Popular
Cross-Page Posting Example
Counting lines in text files
Creating files online in PHP
Mark a GridView row, and move it with the up and down key
How to embed UpdatePanel in a Repeater
Dynamically creating DeepZoom composition
Retrieving Column Names with values
Image downloading from remote servers in ASP
Displaying last modified date of any file
How to modify expire date of a cookie

Copyright © 2009 Powered by GNews Publisher Positive. All rights reserved. Contact Us - Load Time: 0.13 second(s)