摘要: 今天做往gridview列里动态添加textbox控件 protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { for (int i = 1; i <Gvd_Table.Columns.Count; i++)//序号以外的列 { TableCell tc = e.Row.Cells[i]; if (tc.Text.Trim() == "&nbsp;")//判断只要地区或区块不为空就跳过 { TextBox tb = new TextBox(); tb.ID = 阅读全文
posted @ 2012-08-02 16:21 xiaoxu1987 阅读(260) 评论(0) 推荐(0) 编辑