Hi,
Please I need help

I am in add mode DB is pubs and the Table is jobs
I have a Web Form main.aspx with text boxes related to the fields and a button Go related to job_id.
The need the code in VB.NET and:

1) When I enter for the first time it suppose to generate a new number job_id the last in jobs +1.
2) When I push the Go button I must jump into the other Web Form grid.aspx that has a grid bind to jobs table.
a) If job_id is the new generated I must to be able to browse all the records in grid.aspx and after I select one to put the data in the text boxes of main.aspx.
b) If the job_id is less than the new generated job_id, I will pass the job_id from main.aspx to grid.aspx and it suppose to be focus on the indicated record. After I selected the record it suppose to put all data in the main.aspx.
The main idea is that I want to copy some data from am existent record in the new generated record.

Any suggestion please