本文介绍了在网格视图中存储值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有网格视图,一列填充有1英寸和0英寸.
我需要存储值的值,以便我有"present"和"absent"而不是1和0.

可以这样存储吗?

请问有人可以帮我吗?

在此先感谢

Hi all,

I have grid view and one column is filled with 1''s and 0''s.
I need to store values the values so that instead of 1 and 0, I have "present" and "absent".

Is it possible to store like this?

Please can any one help me?

Thanks in advance

推荐答案

public bool GetPresent(int i)
{
if(conditiontrue)
 return true;
else
 return false;


这篇关于在网格视图中存储值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 22:41
查看更多