Thursday, 5 February 2015

Redirect same page after button click

Protected Sub button1_Click(sender As Object, e As EventArgs)

        'Do your task here

        'Redirect to same page again
        Response.Redirect(HttpContext.Current.Request.Url.ToString(), True)
    End Sub

No comments:

Post a Comment