/// <summary>
/// 将checkbox选中的行的ID,赋值给label
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Tree_SelectedNodeChanged(object sender, EventArgs e)
{
BindTree();
}
protected void Link_edit_Click(object sender, EventArgs e)
{
CheckBox ck;
for (int i = 0; i < this.rpt_oa_txl.Items.Count;i++ )
{
ck =(CheckBox)(this.rpt_oa_txl.Items[i].FindControl("checkSelect"));
Label lbl = (Label)(this.rpt_oa_txl.Items[i].FindControl("lblID"));
if (ck.Checked)
{
this.Link_edit.Text = lbl.Text;
}
}
int OA_TXL_edit_id = Convert.ToInt32(this.Link_edit.Text);
Response.Write(OA_TXL_edit_id);
Response.Redirect("OA_TXL_edit.aspx?type=0&ID="+OA_TXL_edit_id);
}
}