Generating auto-ids using asp and sql
Well..m working on a project using asp as front-end and Sql as back-end.Now the proeblem is that I have to generate Company-id and then the employee-id automatically...So that each time a company details are filled in, they shud be assigned a company-id and then when the employee details wud be filled in, each employee of the company shud again be given an employee-id.
One more problem is there...m passing on company-id from my firstpage to next pages thru querystring method..but its not working...how to do that :(
|