I would like to know how to see the results from a database in text format from LiteDB in the console or a multi line text box when the form loads. This is what I have so far, but it doesn't return the information.
private void DisplayData_Load(object sender, EventArgs e)
{
using (var db = new LiteDatabase(@"C:\Temp\MyData.db"))
{
// Get a collection (or create, if doesn't exist)
var col = db.GetCollection<DataBase>("data");
// Create your new customer instance
var results = col.FindAll();
Console.WriteLine(results);
}
}