日期:2014-05-20 浏览次数:21351 次
if (e.Row > 2)
{
intPrevCol = 3 + Int32.Parse(grid1.Cell(e.Row - 1, 2).Text.Substring(0, 1));
}
if (e.Row <= 100)
{
intNextCol = 3 + Int32.Parse(grid1.Cell(e.Row + 1, 2).Text.Substring(0, 1));
}
if (e.Col >= 23)
{
}