Sunday, 16 September 2012

Content Editor BL


public class ContentEditorBL

    {

        # region Fields

        string _title = string.Empty;

        string _desc;

             

        int _listId;

        int _ContenteditorID;

 

       

 

        # endregion

       

        # region Properties

 

        public int ID

        {

            get { return _listId; }

            set { _listId = value; }

        }

        public int ContenteditorID

        {

            get { return _ContenteditorID; }

            set { _ContenteditorID = value; }

        }

 

        public string Desc

        {

            get { return _desc; }

            set { _desc = value; }

        }

 

        public string Title

        {

            get

            {

                return _title;

            }

            set

            {

                _title = value;

            }

        }

        # endregion

               

        # region Constructor

             public ContentEditorBL()

        {

 

        }

        public ContentEditorBL(int listId)

        {

            this.ID = listId;

        }

 

        public ContentEditorBL(int contenteditorid, string desc)

        {

            this.ID = contenteditorid;

            this.Desc = desc;

        }

# endregion

 

 

 

        # region Methods

 

        public bool update()

        {

            return ContentEditorDL.update(this);

        }

 

        public bool updateCE()

 

        public System.Data.DataTable GetSingleRowListItem()

        {

            return ContentEditorDL.GetSingleRowListItem(this);

        }

        public void GetAllListItem()

        {

            ContentEditorDL.GetAllListItem(this);

        }

 

        # endregion

    }

 

No comments:

Post a Comment

SharePoint online - Get List-item attachments and Display to div

Step 1 : Create a List ex: TestList and attach few images Step 2 : Copy and Pastet the below coding in App.js var  Items =  null ; ...