Pooja Zol

Pooja Zol

  • NA
  • 2
  • 2.5k

how to set fix day and month but year is selected from cmbbo

Feb 11 2014 7:34 AM
int year = Convert.ToInt16(cmbtoyear.SelectedItem.ToString());
            int month = 3;
            int day1 = 31;
    
            DateTime finaldate = new DateTime(month,day1,year);

it show error plz help to solve this.......

Answers (2)