Auto incrementing of id and showing it in the textbox in 3 tier architecture
<p>I am using Visual Studio 2008, ASP.NET 3.5 and C# for my project. I am use 3-tier architecture for database connectivity.  I have designed a form with the ID, name, age, etc.  In the database table, id is the primary key. On the page load I want to display the next value of the id in the text box automatically. Then the user would have to enter the other details such as name, age and so on.  After which, I want to submit the data to the table.  Can any one suggest a good idea for this.  I am new to 3 tiered architecture.</p>
