C#C
C#9mo ago
Zanji

XAML Binding

Trying to bind an input from an input in our viewlayer, but it comes back as null and i'm a bit uncertain as to what's going wrong. Linking everything i think is important (first time asking here, and very new to coding)


Employee class:

namespace MATURIXSHIFTPROJECT.Models
{
public class Employee
{
public int EmployeeID { get; set; }
public string Initials { get; set; }
public string Name { get; set; }
public string PhoneNumber { get; set; }
public string Email { get; set; }


public Employee(int employeeID, string initals, string name, string phoneNumber, string email)
{
EmployeeID = employeeID;
Initials = initals;
Name = name;
PhoneNumber = phoneNumber;
Email = email;
}

public Employee()
{
}
}


}
Was this page helpful?