Hi All,

I want to set two textboxes, where I want to set the first day of current month in one textbox, and todays date in the second text box.

How can I get the first day of the current month?

Thanks In advance

textBoxName.Text = DateTime.Now.Month.ToString()+"/1/"+ DateTime.Now.Year.ToString();

I put this code, but it is showing todays' date 2/5/07 in two textboxes

I am sorry, I got it worked.
I misplaced the code.
Really sorry for that
Thanks

I was trying the same thing for another control also, infragistics webdatechooser,
In that, it was not working