così?
codice:
dataAdapter1 = New SqlCeDataAdapter("SELECT Sum(ferie.Giorni)Prese FROM ferie where ferie.Altro =" & "F" & "", cn1)