how do i make the comboxitem isselected when i retrived back the data from database? i tried as below if reminder is 1 day , the comboxboxitem (reminder1) will be selected.. is this correct? if (row["reminder"].ToString().Trim() == "1") { reminder_1.IsSelected = true ; }