protected void lvBulletinBoard_ItemDataBound(object sender, ListViewItemEventArgs e)
{
if (e.Item.ItemType == ListViewItemType.DataItem)
{
(e.Item.FindControl("ibtDelete") as ImageButton).Attributes.Add("onclick", "javascript:return confirm('你确认删除该公告吗?')");
}
}