Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- emp.BirthDate: ["Unexpected character encountered while parsing value: {. Path 'BirthDate', line 1, position 14.",…]
- 0: "Unexpected character encountered while parsing value: {. Path 'BirthDate', line 1, position 14."
- 1: "After parsing a value an unexpected character was encountered: :. Path 'BirthDate', line 1, position 20."
- <div class="input-group-append">
- <button class="btn btn-outline-secondary calendar px-20" (click)="d.toggle()"
- type="button">Calendar</button>
- </div>
- <input class="form-control"
- [startDate]="{year: 1992, month: 11}"
- placeholder="Birth (yyyy-mm-dd)"
- name="dp"
- [(ngModel)]="newEmployee.BirthDate"
- ngbDatepicker
- #d="ngbDatepicker">
- </div>
- BirthDate: Date; // Angular
- public DateTime BirthDate { get; set; } // Web api
- emp:
- BirthDate: {year: 1992, month: 11, day: 11}
- FirstName: "sadsa"
- Gender: "male"
- Lastname: "asdsa"
- Rank: {ID: 6, Name: "Chief Engineer", Employee: null}
Add Comment
Please, Sign In to add comment