I am writing a web form in C# using VS 2008. My form accesses an Access database that has a list of Cusomers. Each customer has a customerID. My goal is to allow the form to automatically generate a new customerID each time a user clicks on INSERT. I need it to take the highest customerID from the DetailsViewand add 1 to it in order for the customer ID's to be sequential. I am assuming I need a loop for this or maybe an Arraylist???? Any help is appreciated.
View Complete Post