Protected Overrides Sub RenderWebPart(ByVal output As 
   System.Web.UI.HtmlTextWriter)
      output.Write("This is my first web part.")
End Sub

Example 1: Rendering the web part.

Back to Article