How do i bind database to a list

Hi, sorry im really new to this so sorry for being stupid. I have a database and i want to bind it to a list view with cells with the text and detail but i cant get it to work.

`public class TodoItem

    [PrimaryKey, AutoIncrement]
    public int ID { get; set; }

    public string Time { get; set;}

    public string Event { get; set; }

    public decimal ActTime { get; set;}

    public DateTime Swam { get; set; }

    public override string ToString()
        return string.Format("{0} | {1} ", Time, Swam);


there is the code for the database.


Sign In or Register to comment.