If you are just using ADO, and you have an example; why don't you alter the example to fit your needs?
Here is a basic version of what you want. It is not perfect and will take some tweaking. It also is not complete. But it is a start.
public class Customer {
public int Id { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
public decimal Tax { get; set; }
public Customer () {}
public Customer ReadOne(int customerID) {
Customer c = null;
string query = "SELECT id, Name, Surname, Tax FROM dbo.Customers WHERE id = @CustomerID";
SqlConnection con = new SqlConnection("connection string");
SqlCommand cmd = new SqlCommand(query, con);
cmd.Parameters.AddWithValue("@CustomerID", customerID);
con.Open()
SqlDataReader reader = cmd.ExecuteReader();
if (reader.HasRows) {
c = new Customer();
c.Id = reader.GetInt32(0);
c.Name = reader.GetString(1);
c.Surname = reader.GetString(2);
c.Tax = reader.GetDecimal(2);
}
reader.Dispose();
cmd.Dispose();
con.Close();
cmd.Dispose();
}
}