public void PlaceUp() { RowSelectionModel sm = this.GridPanel2.SelectionModel.Primary as RowSelectionModel; if (sm.SelectedRows.Count == 1) { HBBLL hb = new HBBLL(); int id = int.Parse(sm.SelectedRows[0].RecordID.Trim()); hb.MoveUp(id, hb.GetMoveOrderByID(id), int.Parse(TID.Value.ToString())); Ext.DoScript("#{YPPTDetailStore}.reload();"); } }