Tks your feedback.
In database has somes row is not null[Null] it's ''
I updated it's to null[Null] and it's work ok.
Tks.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
public class DataDepartment
{
public string? Dept_ID { get; set; }
public string? Dept_Name { get; set; }
public DateTime Modify_Date { get; set; }
public bool? Hide { get; set; }
}
Connection String:
"DBSettingConnection": "Data Source=####;Initial Catalog=####;User Id=####;Password=####;Integrated Security=True;Encrypt=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"
When execute: Error: Internal Server Error
266745-response-1670055658700.txt
And try setting TreatTinyAsBoolean=false in connection string
Error:
266833-response-1670055525026.txt
Tks your feedback.
In database has somes row is not null[Null] it's ''
I updated it's to null[Null] and it's work ok.
Tks.