摘要:
1.在ASPX页面下加一个隐藏域 <asp:HiddenField ID="HidSign" runat="server" />2.cs代码 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { UpdateSign(); } } static string rp_GoodsEdit; public void UpdateSign() ... 阅读全文
posted @ 2011-12-27 18:36
走路到纽约
阅读(721)
评论(0)
推荐(0)
摘要:
效果如下图,表头13-1 到13-11 也是动态绑定的。 protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Header) { TableCellCollection tcHeader = e.Row.Cells;//获取表头行的所有单元 tcHeader.Clear();//清空原有的表头信... 阅读全文
posted @ 2011-12-27 17:21
走路到纽约
阅读(1678)
评论(0)
推荐(0)

浙公网安备 33010602011771号