TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Debasis Mohapatra
NA
381
56.6k
Leave Management for approved SP how to do the Logic
Sep 18 2019 10:55 AM
Hi,
I am doing Leave Management project in Asp.net c#.
Through Free template i have created Master page ,Employee Details,Role,Department,Leave Type in Admin.
Now when the user will login with valid user id and password then the user can select the leave type dropdown,department dropdown,description,Approver dropdown and from date and todate. After click the submit the data is saved in the database. and through Joining the user can see the details in the gridview in panel view.
Now the mail has to go to approver to approved the leave and the status will show as in pending status in gridview. So what will be my SP to write if it's 0 then status will pending when 1 then approved when 2 then it will reject i the status.
Could you please guide me how to write the SP for this logic.
Reply
Answers (
3
)
Javascript and css are not working properly in 2019 server
pdf generation using javascript is not working