I am writing code for student information system using Firebase realtime database in C#. I am using Visual Studio and installed FireSharp
NuGet Package. I retrieved a data and displayed in textboxes using the code below. I want to retrieve all data from Firebase and display in listview.(like SELECT * FROM Table) Please show me how to do this.
internal class Student
{
public string Id { get; set; }
public string Name { get; set; }
public string Phone { get; set; }
public string Addr { get; set; }
}
private void btnSelect_Click(object sender, EventArgs e)
{
var result = client.Get("StudentList/" + txtId.Text);
Student std = result.ResultAs<Student>();
txtName.Text = std.Name;
txtPhone.Text = std.Phone;
txtAddr.Text = std.Addr;
MessageBox.Show("data retrieved successfully");
}