How to make a code for save drft and submit?
Hai Friends,
i ve the page like below
1)login.aspx
2)empdetails.aspx
3)travelplan.aspx
in LoGin.aspx contains
1)username
2) password
3)Login button
after the Login ll redirect into empdetails.aspx
EMPDETAILS
1)userid
2)department
3)designation
4)age
5)repoting to
these textboxes are fetch the details from database into display on screen.
REQUIREMENTS
1)travel purpose (textbox)
2)total claim amount (textbox)
3)Travelplan new request(button ll redirect to travelplan.aspx).
travelplan.aspx ve three button's
1)savedraft
2)submit
3)cancel
if the person choose to click save or submit
travelpurpose and total claim amount ll be store on travel_request table.
then create the request_id for that.
My travel_request strct:
=======================
create table travel_request
(
request_id int identity,
travel_purpose varchar(100),
total_amount varchar(10)
)
one more thnk if he choose save draft ll be store on his home page.
if he choose submit ll goes to reporting_to person?