Click here to Skip to main content
15,502,193 members
Home / Discussions / C#
   

C#

 
AnswerRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
OriginalGriff23-Sep-20 3:30
mveOriginalGriff23-Sep-20 3:30 
AnswerRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
Dave Kreskowiak23-Sep-20 5:07
mveDave Kreskowiak23-Sep-20 5:07 
AnswerRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
Victor Nijegorodov23-Sep-20 9:45
Victor Nijegorodov23-Sep-20 9:45 
AnswerRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
Mycroft Holmes23-Sep-20 13:12
professionalMycroft Holmes23-Sep-20 13:12 
GeneralRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
GenJerDan24-Sep-20 22:37
GenJerDan24-Sep-20 22:37 
GeneralRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
Mycroft Holmes25-Sep-20 13:21
professionalMycroft Holmes25-Sep-20 13:21 
AnswerRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
Richard Andrew x6423-Sep-20 14:48
professionalRichard Andrew x6423-Sep-20 14:48 
AnswerRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
shwetaliv23-Sep-20 21:41
shwetaliv23-Sep-20 21:41 
I Have a employee work tracking system written in C# and back end is SQL DB .
In Leave tab user can apply single entry for given date when he wants to take a leave .Now i want to add functionality where user can insert multiple leaves like if he want to go on long Holiday for one/two week ,where he can give start date and end date for his leave plan and code will fill entries against only weekdays for given start and end date and will exclude weekends (Sat and Sun) .
Also need to look Office Holidays in between .
I Hope i have explained my Question enough everyone to understand .

Can anyone please share sample code for same. Dont need any slogans or blessings .

Thanks in Advance ,
Shwetali
GeneralRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
Richard MacCutchan23-Sep-20 22:32
mveRichard MacCutchan23-Sep-20 22:32 
GeneralRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
OriginalGriff23-Sep-20 23:00
mveOriginalGriff23-Sep-20 23:00 
GeneralRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
shwetaliv24-Sep-20 0:50
shwetaliv24-Sep-20 0:50 
GeneralRe: want to insert leave dates for weekdays excluding weekends from given date range using c# ASP.net Pin
OriginalGriff24-Sep-20 0:54
mveOriginalGriff24-Sep-20 0:54 
QuestionMessage Removed Pin
22-Sep-20 10:56
protectorNelek22-Sep-20 10:56 
QuestionMessage Removed Pin
23-Sep-20 7:44
mveRichard MacCutchan23-Sep-20 7:44 
QuestionWPF design UI Pin
Member 1493238422-Sep-20 6:55
Member 1493238422-Sep-20 6:55 
AnswerRe: WPF design UI Pin
Gerry Schmitz22-Sep-20 7:28
mveGerry Schmitz22-Sep-20 7:28 
QuestionBetter way to handle 50 labels Pin
Member 1494373721-Sep-20 15:54
Member 1494373721-Sep-20 15:54 
AnswerRe: Better way to handle 50 labels Pin
Richard Andrew x6421-Sep-20 17:12
professionalRichard Andrew x6421-Sep-20 17:12 
AnswerRe: Better way to handle 50 labels Pin
OriginalGriff21-Sep-20 21:58
mveOriginalGriff21-Sep-20 21:58 
AnswerRe: Better way to handle 50 labels Pin
Gerry Schmitz22-Sep-20 7:45
mveGerry Schmitz22-Sep-20 7:45 
AnswerRe: Better way to handle 50 labels Pin
BillWoodruff22-Sep-20 8:59
mveBillWoodruff22-Sep-20 8:59 
AnswerRe: Better way to handle 50 labels Pin
Mycroft Holmes22-Sep-20 13:20
professionalMycroft Holmes22-Sep-20 13:20 
GeneralRe: Better way to handle 50 labels Pin
Member 149437371-Oct-20 19:52
Member 149437371-Oct-20 19:52 
AnswerRe: Better way to handle 50 labels Pin
Member 1494373728-Sep-20 14:41
Member 1494373728-Sep-20 14:41 
QuestionComplex View Model with Nested class Properties / Array Submit Pin
Guillermo Perez18-Sep-20 16:50
Guillermo Perez18-Sep-20 16:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.