Created
November 2, 2017 09:44
-
-
Save Hameds/82872e81d6e72c0de2cceb366359dcee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.ComponentModel; | |
| using System.Web; | |
| using System.Web.UI; | |
| using System.Web.UI.WebControls; | |
| using System.Web.UI.WebControls.WebParts; | |
| using Microsoft.SharePoint; | |
| using Microsoft.SharePoint.WebControls; | |
| namespace Araye.SharePoint.Webparts.HelloWorld.HelloWorld | |
| { | |
| [ToolboxItemAttribute(false)] | |
| public class HelloWorld : WebPart | |
| { | |
| protected override void CreateChildControls() | |
| { | |
| this.Controls.Add(new Label(){Text = "Hello World from SharePoint Webpart!"}); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment