菜鸟问题
谁告诉我这方法的具体用处private void GridSelectCurrentRow()
{
if(m_oDataTable!=null)
{
for(int _k=0;_k<m_oDataTable.Rows.Count;_k++)
{
GridList.UnSelect(_k);
}
}
if(m_oDataTable!=null && GridList.CurrentCell.RowNumber<m_oDataTable.Rows.Count)
{
GridList.Select(GridList.CurrentCell.RowNumber);
}
}
补充说明:private DataTable m_oDataTable;