MyException - 我的异常网
当前位置:我的异常网» C# » 如何把CommandField弄到gridview里

如何把CommandField弄到gridview里

www.MyException.Cn  网友分享于:2013-12-31  浏览:40次
怎么把CommandField弄到gridview里?
怎么把CommandField弄到gridview里?

------解决方案--------------------
<asp:GridView ID= "GridView1 " runat= "server " Width= "90% " AutoGenerateColumns= "False " BorderColor= "#93c3f9 " AllowPaging= "True " BackColor= "White " BorderStyle= "none "PageSize= "20 " CellPadding= "3 ">
<Columns>
   <asp:CommandField HeaderText= "测试 " />
    <asp:CommandField HeaderText= "测试 " />
    <asp:CommandField HeaderText= "测试 " />
</Columns>
<PagerSettings Visible= "False " />
<AlternatingRowStyle BackColor= "whitesmoke " />
</asp:GridView>

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有