private void Edit_ExtLink(string PageIndexID) { Page_PropertyMgr myPropertyMgr = new Page_PropertyMgr(); if (!tbx_LinkURL.Text.Trim().StartsWith("http://")) { tbx_LinkURL.Text = "http://" + tbx_LinkURL.Text.Trim(); } // Page Index e2Data[] UpdateData = { new e2Data("PageIndexID", PageIndexID), new e2Data("Page_URL", tbx_LinkURL.Text), new e2Data("Page_Target", RadComboBox_LinkTarget.Text) }; if (myPropertyMgr.Chk_Page_ExtLink(PageIndexID)) { myPropertyMgr.Edit_Page_ExtLink(UpdateData); } else { myPropertyMgr.Add_Page_ExtLink(UpdateData); } }