コード例 #1
0
 private void MovePage(SPGridView gridView, Selection.SelectionTableDataTable destination, Selection.SelectionTableDataTable source)
 {
     foreach (GridViewRow _cr in gridView.Rows)
     {
         Label _idLabel = (Label)_cr.FindControlRecursive(m_IDItemLabel);
         Selection.SelectionTableRow _slctdItem = source.FindByID(_idLabel.Text);
         destination.GetRow(_slctdItem);
     }
 }
コード例 #2
0
        private static void GetRow(SPGridView sender, GridViewSelectEventArgs e, Selection.SelectionTableDataTable destination, Selection.SelectionTableDataTable source)
        {
            if (sender == null)
            {
                return;
            }
            GridViewRow row = sender.Rows[e.NewSelectedIndex];
            string      _id = ((Label)row.FindControlRecursive(m_IDItemLabel)).Text;

            destination.GetRow(source, _id);
            e.NewSelectedIndex = -1;
            e.Cancel           = true;
        }
コード例 #3
0
ファイル: Selection.cs プロジェクト: CASMPostol/SmartFactory
 internal void GetRow(Selection.SelectionTableDataTable source, string id)
 {
     GetRow(source.FindByID(id));
 }