Merge branch 'master' of http://scddns.f3322.net:13000/sc/Audit_APP
This commit is contained in:
commit
676cc0cdb7
1 file changed
+1
-1
@@ -16,7 +16,7 @@ namespace Audit.ConvertMoels
|
|||||||
{
|
{
|
||||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
string G = value.ToString();
|
string G = System.Convert.ToString(value);
|
||||||
if (G == "0")//判断单元格值是否为零
|
if (G == "0")//判断单元格值是否为零
|
||||||
{
|
{
|
||||||
return "red";//零返回红色
|
return "red";//零返回红色
|
||||||
|
|||||||
Reference in new issue
Block a user