我的sql连接“ sa”工作正常,但我在登录表单代码(c#.net)中显示登录失败
this.taskForm = this.formBuilder.group({
'title':[null],
'description' : [null],
'descriptionHtml':[null],
'assignedUserId': [null],
'deadline':[null],
'deadlineType':[null],
'fromDate':[null],
'clientId':[null]
});
// ...
async getTaskInfo() {
this.taskId = this.navParams.get('taskId');
await this.api.getTaskById(this.taskId).subscribe(result => {
this.task = result;
});
}
async getCompanies() {
this.clients = this.api.getCompanies();
}
async getSimpleUsers() {
this.simpleUsers = this.api.getSimpleUsers();
}
async setUser(userId) {
this.assignedUserId = userId;
}
async setClient(clientId) {
this.clientId = clientId;
}