开发者

how to hide rows from datagrid which doestn get data from datatable

i have datagrid with 5 columns in it.

and i write some data to that datagrid, and i dont use any datatable.

now i开发者_C百科 want to hide some rows(like filtering)

how can i do this???


If you have the index of the row you need to hide you can use the following statement:

dataGridView.Rows[rowIndex].Visible = false;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜