和你的要求稍微有点不同:
GridView Examples for ASP.NET 2.0: Editing the Underlying Data in a GridView
http://msdn.microsoft.com/en-us/library/ms972948.aspx
2. 右键菜单参见:
Adding a Context Menu to ASP.NET Controls
http://msdn.microsoft.com/en-us/magazine/cc163848.aspx
Replacing the Internet Explorer context menu with a custom built context menu
http://www.codeproject.com/KB/aspnet/dynamenu.aspx
3、第一行固定,计算统计值(或者在未行固定动态计算统计值)
参考:
不过他是显示在footer上,如果你想显示在某一行上应该也好该,总之就是处理Datarowbound事件。
Displaying Summary Information in the GridView's Footer
http://www.asp.net/learn/data-access/tutorial-15-vb.aspx