Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
GridView で特定の行を非表示にするにはどうすればよいですか?
例えば
2/4/1/7 をクリックすると、3/5/2/8 が非表示になります これを行う方法
あなたはこのようなことを試すことができます
YourDataGridView.CurrentCell = null; YourDataGridView.Rows[rowIndexToHide].Visible = false;
選択した行を非表示にできるため、最初の行でCurrentCellをnullに設定します。