如何在gridview的最后添加一行,以及如何从gridview获取特定的行(在C#中)
问题描述:
1)如何在gridview的最后添加一行,即当我将其添加时,它将在上一个之后同步.
2)我有个firstoon,prv(prev),next,last之类的按钮.当我单击网格的第一行时,当下次单击next时,将选择prv ....如此等等.
请帮助
预先感谢....
1) How to add a row in last of the gridview i.e When i will add it will synchronisely after previous,aftr that..
2) I have butoons like first,prv(previous),next,last.When i will click first first row of the grid ,when next click next will select and prv ....so on.
Plz help
Thank in advance....
答
1-将其添加到您的数据源中,然后重新绑定
2-只需使用gridview中内置的分页
1 - add it to your data source then rebind
2 - Just use the paging built in to the gridview