If i put SELECT DATES, that means day,month and year will display. So, what should i put after SELECT.
con.Open() sql = "SELECT dates FROM summary WHERE plants = '" & yieldsummary.cbPlant.Text & "'" da = New OleDb.OleDbDataAdapter(sql, con) da.Fill(ds, "summary") con.Close() maxrow = ds.Tables("summary").Rows.Count For x = 0 To maxrow - 1 cbYear.Items.Add(ds.Tables("summary").Rows(x).Item("dates")) cbYear1.Items.Add(ds.Tables("summary").Rows(x).Item("dates")) Next x