日期:2014-05-20  浏览次数:20819 次

GridView中如何定位到某一行?
OnRowDataBound= "_gv_RowDataBound "

protected   void   _gv_RowDataBound
(object   sender,   GridViewRowEventArgs   e)
{
          if   (...)
          {
                  //将该行设为隐藏
          }
}

隐藏的代码怎样写?

------解决方案--------------------
e.Row.Visible = False;