//protected void uoButtonSearch_Click(object sender, EventArgs e) //{ // uoHiddenFieldSearch.Value = uoTextBoxSearchParam.Text; //} protected void uoNationalityList_ItemCommand(object sender, ListViewCommandEventArgs e) { string strLogDescription; string strFunction; if (e.CommandName == "Delete") { int iID = Convert.ToInt32(e.CommandArgument); strLogDescription = "Restricted Nationality Deleted."; strFunction = "uoNationalityList_ItemCommand"; DateTime dateNow = CommonFunctions.GetCurrentDateTime(); CountryBLL.DeleteRestrictedNationality(iID, strLogDescription, uoHiddenFieldUser.Value, strFunction, Path.GetFileName(Request.Path), CommonFunctions.GetDateTimeGMT(dateNow), CommonFunctions.GetCurrentDateTime()); //BLL.AuditTrailBLL.InsertLogAuditTrail(nationalityID, "", strLogDescription, strFunction, Path.GetFileName(Request.Path), // CommonFunctions.GetDateTimeGMT(dateNow), DateTime.Now, uoHiddenFieldUser.Value); BindRestrictedNationality(); } }