How to add blank row in grid view?

前端 未结 3 838
余生分开走
余生分开走 2021-01-27 02:04

I am new to the ASP.NET i am binding one list of data object to the grid view. I want to display blank row after each record in grid view so i have done this by as below in code

3条回答
  •  渐次进展
    2021-01-27 02:45

    You can't have an empty row in the Datagrid if it isn't present in the data source. You have to think that after all the grid data is just a representation of your data source, if there is a empty row, the grid will show it, if there is not, it wont.

提交回复
热议问题