Click here to Skip to main content
16,019,394 members

Comments by Kailash Polai (Top 7 by date)

Kailash Polai 29-Aug-17 6:49am View    
use OR operator "||" for all text box
like
if( IsNullOrWhiteSpace(txt1.Text) || IsNullOrWhiteSpace(txt2.Text) || so on... )
Kailash Polai 29-Aug-17 6:14am View    
How did you check that it always delete in ascending order of list not descending order? As you might call the SaveChanges() method to save to database finally.
Kailash Polai 29-Aug-17 5:38am View    
i think this because of this line
@media screen and (min-width: 768px) {

menu does not appear, please correct the css syntax errors
Kailash Polai 29-Aug-17 5:08am View    
https://stackoverflow.com/questions/9907682/create-a-txt-file-if-doesnt-exist-and-if-it-does-append-a-new-line

may help you how to write a text file
Kailash Polai 29-Aug-17 4:57am View    
First get the no.of days overdue
DateTime startDate = DateTime.Parse(Fields!Date.Value.ToString());
DateTime endDate = DateTime.Now;
double daysOver = (endDate - startDate).TotalDays;
yourControl.BackColor = daysOver > 15 ? Color.LightCoral : Color.Khaki;

reverse the startDate and endDate as per your requirement