(一).确认删除用法: 1. BtnDel.Attributes.Add("onclick","return confirm('"+"确认删除?"+"')"); 2. linktempDelete.Attributes["onclick"]="javascript:return confirm('"+"确认删除?"+"');"; 3. private void grdProject_ItemDataBound(object sender, DataGridItemEventArgs e) 4. { if ((e.Item.ItemType == ListItemType.Item) | (e.Item.Ite...
[ 查看全文 ]