VB.NET
Dim strval As String = 'a'
If strval = 'a' Then
Call Page_Load(sender, e)
End If
C#
string strval ='a';
if( strval =='a')
{
Page_Load(sender,e);
}
Home / FAQ / ASP.NET / Miscellaneous / How to call the Page_load procedure from any event on the page
VB.NET
Dim strval As String = 'a'
If strval = 'a' Then
Call Page_Load(sender, e)
End If
C#
string strval ='a';
if( strval =='a')
{
Page_Load(sender,e);
}
Share with