i will write the following code to get that like the date
tbStartDate.Text = DateTime.Today.AddDays(-30).ToShortDateString();
by using above statement we can get the value of today date minus one month
aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies
System.Web.UI.ScriptManager.RegisterClientScriptBlock(Page, typeof(Page), "Script", "document.getElementById('" + button2.ClientID + "').style.display='none';", true); |
Search This Site |