display empty records in an ASP.Net GridView?
How can I display 10 empty records in a Gr开发者_如何学运维idView from code-behind Page_Load?
You could create a new DataTable
in the Page_Load
event that has 10 empty rows of data in it, then bind that to your GridView
.
精彩评论