我想知道 SQL 异常(状态)的
“重复错误记录”
“空值”
上面的 sql 异常(状态)是什么?
任何建议
enum FilterMode
{
System_AllData = -1,
System_Error = -2,
System_DuplicateError = 3,
System_NullValues = 2,
}
private FilterMode SetFilter(string str)
{
if (str == "All Record")
return FilterMode.System_AllData;
else if (str == "All Error Record")
return FilterMode.System_Error;
else if (str == "Duplicate Error Record")
return FilterMode.System_DuplicateError;
else if (str == "Null Value")
return FilterMode.System_NullValues;
else return FilterMode.System_Error;
}