|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
interesting fact about date.I have not seen anything yet that can help me with this. All the time my page is loaded I need to show inside a TextBoxt the first day of the month: If the page is being loaded this month the textboxt should have 06/01/2005 If the page is being loaded the next month the textboxt should have 07/01/2005 If the page is being loaded at december: 12/01/2005 any sug? -- Kenny M. Depending on your needs, you could try setting the Text of the TextBox to a
serialized string that you make. Grab the Month and Year parts of the current month and put '/01/' between them and assign that string to the Text property. This may not work as well if you have a localized app where user format settings take effect. Is this the case? HTH, -Ryan Show quoteHide quote "Kenny M." wrote: > hi > > I have not seen anything yet that can help me with this. > > All the time my page is loaded I need to show inside a TextBoxt the first > day of the month: > > If the page is being loaded this month the textboxt should have > > 06/01/2005 > > If the page is being loaded the next month the textboxt should have > > 07/01/2005 > > If the page is being loaded at december: > > 12/01/2005 > > any sug? > > > -- > Kenny M.
Other interesting topics
Code-Behind Pain in the Behind!
DataGrid Runtime DropDown - ViewState Issue Evaluation Application How to get network user name with FORMS authentication Is there server control that you load with HTML from a URL Two DropDownLists getting crossed Reading values from a Word document... Getting more detailed errors validating How to hide aspx from URL in address bar |
|||||||||||||||||||||||