16,004,653 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ashokk88 (Top 11 by date)
Ashokk88
14-Feb-18 1:20am
View
DateTime t1 = Convert.ToDateTime(txt_from_date.Text);
DateTime t2 = Convert.ToDateTime(txt_to_date.Text);
double comp_days;
while (t1 <= t2)
{
if(chk_from.Checked == true || chk_to.Checked == true)
{
comp_days = 0.5;
}
else
{
comp_days = 1;
}
....Insert codings....
t1 = t1.AddDays(1);
}
Ashokk88
14-Feb-18 1:19am
View
If I use if condition inside while loop it consider as half day for all the days(Between from date and to date). I want like if check box for start date selected, for the start date one it should consider 0.5 and for remaining day it should be 1.
Ashokk88
13-Feb-18 2:37am
View
yes, Im saving the date in datetime format and in another field saving value as 0.5 for half day and 1 for full day.
Ashokk88
13-Feb-18 1:33am
View
I want to save day as 0.5 if from date or to date is half day only.
For example-
From date 13/02/2018 (half day selected)
To date 15/02/2018
In my table i want to save like for date 13/02/2018 as 0.5 and
(14/02/2018, 15/02/2018) as 1
Ashokk88
13-Feb-18 0:24am
View
DateTime t1 = Convert.ToDateTime(txt_from_date.Text);
DateTime t2 = Convert.ToDateTime(txt_to_date.Text);
double comp_days;
while (t1 <= t2)
{
...insert into table code....
t1 = t1.AddDays(1);
}
I want to add half day details if user select the respective check box.
Ashokk88
13-Feb-18 0:22am
View
Deleted
DateTime t2 = Convert.ToDateTime(txt_to_date.Text);
double comp_days;
while (t1 <= t2)
{
...insert into table code....
t1 = t1.AddDays(1);
}
I want to add half day details if user select the respective check box.
Ashokk88
13-Feb-18 0:22am
View
DateTime t1 = Convert.ToDateTime(txt_from_date.Text);
DateTime t2 = Convert.ToDateTime(txt_to_date.Text);
double comp_days;
while (t1 <= t2)
{
...insert into table code....
t1 = t1.AddDays(1);
}
I want to add half day details if user select the respective check box.
Ashokk88
5-Feb-18 7:48am
View
Im just planning to implement it. I like to show pending approvals to managers like notification when he login to system. Application has ten pages or more and notification should display at time interval at present visited page.
Ashokk88
5-Feb-18 1:58am
View
I want an idea to implement like social media website live notifications without using SignalR in asp.net, and is it possible?
Ashokk88
5-Feb-18 1:55am
View
I had tried this before, is it any thing like to show all pending approval notification in any pages(not only in after login) with time interval and auto close after few seconds.
Ashokk88
13-Jun-13 5:11am
View
Hi Thanks for response. I deployed ASP.Net application in IIS-5 but same not works while deploying in IIS-6. It shows The page cannot be found. HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
Show More