web 2.0

ASP.NET(vb.net) & Page_Init()

ASP.NET(vb.net) & Page_Init() - Page_Init() : The Page_Init() event is the first to occur when the ASP.NET page is executed.

ShotDev Focus:
- ASP.NET(vb.net) & Page_Init()

Example

PageInit.aspx

  1. <%@ Page Language="VB" %>  
  2. <script runat="server">  
  3.   
  4. Sub Page_Init()  
  5. Me.lblText.Text = "Now Time : " & Date.Now()  
  6. End Sub  
  7.   
  8. </script>  
  9. <html>  
  10. <head>  
  11. <title>ShotDev.Com Tutorial</title>  
  12. </head>  
  13. <body>  
  14. <form runat="server">  
  15. <asp:Label id="lblText" runat="server"></asp:Label>  
  16. </form>  
  17. </body>  
  18. </html>  

Screenshot

ASP.NET(vb.net) & Page_Init()
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.