Пример #1
0
 private void AddNewRecord()
 {
     BLL.Services objData = new Services();
     objData.AddNew();
     //objData.CategoryID = 1;
     objData.TypeID = Convert.ToInt32(uiDropDownListServiceTypes.SelectedValue);
     objData.EnName = uiTextBoxEnName.Text;
     objData.ArName = uiTextBoxArName.Text;
     objData.ArDescription = Server.HtmlEncode(uiFCKeditorArDesc.Value);
     objData.EnDescription = Server.HtmlEncode(uiFCKeditorEnDesc.Value);
     objData.CreatedDate = DateTime.Now;
     objData.Save();
 }