Friday, June 25, 2010

ASP.NET C#: Helper function to get a new valid row ID

As we know lots of basic things about the database and tables. Each row in the table is identified by an ID. This is the primary key for the table, so it must be unique for each row. You must obtain a new row with unique ID from the database. Here is the following helper function to the ASP.NET class to get this unique ID before adding the row.

No comments:

Post a Comment