110,561
社区成员
发帖
与我相关
我的任务
分享
public string this[int row, int col]
{
get
{
//数据有效性验证
CheckRowValid(row);
CheckColValid(col);
ArrayList colAL = (ArrayList)this.rowAL[row - 1];
//如果请求列数据大于当前行的列时,返回空值
if (colAL.Count < col)
{
return "";
}
return colAL[col - 1].ToString();
}