开发者

How to display selected GridView row in DetailsView

I have a aspx page that has a GridView with a datasource of an array of the Client class. I would like to include a DetailsView be开发者_开发知识库low the GridView that shows the information of the selected GridView row and allows the user to edite that row. When they are done editing the row, I plan to call the web service to update the row.

Is there an easy way to link the selected GridView row to the DetailsView?


There is a GridView_SelectedIndexChanging event you can use then you can update the datasource for the DetailView. After editing, users can upload the result to call the web service.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜