<asp:GridView ID="GridView1" runat="server" AllowPaging="true" AllowSorting="true" AutoGenerateColumns="false">
<Columns><asp:EditCommandColumn ButtonType="LinkBotton" UpdateText="更新" HeaderText="编辑" CancelText="取消" EditText="编辑"/>
<asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete"/>
</Column>
</asp:GridView>
在VS2008可以这样实现。但是在VS2010就只有<asp:BoundField><asp:ButtonField><asp:CheckBoxField><asp:CommandField><asp:DynamicField><asp:HyperLinkField><asp:ImageField><asp:TemplateField>
没有<asp:EditCommandColumn> <asp:ButtonColumn>试了很久都不能实现。跪求熟悉VS2010的高人指点
<Columns><asp:EditCommandColumn ButtonType="LinkBotton" UpdateText="更新" HeaderText="编辑" CancelText="取消" EditText="编辑"/>
<asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete"/>
</Column>
</asp:GridView>
在VS2008可以这样实现。但是在VS2010就只有<asp:BoundField><asp:ButtonField><asp:CheckBoxField><asp:CommandField><asp:DynamicField><asp:HyperLinkField><asp:ImageField><asp:TemplateField>
没有<asp:EditCommandColumn> <asp:ButtonColumn>试了很久都不能实现。跪求熟悉VS2010的高人指点
解决方案 »
- string[] a 和 Array a有区别吗?
- 求教一个点击列表弹出显示详细的层
- 高手进来看下,急~~~~~~~~~~~~~~~!
- ******请教自动填加行的自定义控件的设计思路,顶者有分!!1******
- web编程中关于单引号和双引号的问题一直是个比较糊涂的问题,大家都来讨论一下好吗?敬请高手指点
- ~~excel数据怎么导不进数据库??每次都是提示数据导入失败~~帮我看看,代码如下~~
- 水晶报表中,cr.DataDefinition.FormulaFields["Field1"].Text={TableName.Field}; 中的TableName不定?
- 初学ViewState问题.
- 关于目录树的显示
- 如何在客户端控制服务器控件?
- 自己写的简单的ORM类,分享一下
- 打开网页10分钟后弹出框并播放音乐
ImageField
就用这些,就很好