I want a validation for date in C# .net it cannot be future date and cannot be back dated more than one week. any one please help
if (yourdate <=DateTime.Now && yourdate >=DateTime.Now.AddDays(-7)) { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)