How do I create a button to redirect to another page?

×

Simply create a button that calls the ButtonClick event handler in the OnClick event.  Then tell the event you want it to redirect by passing in a CommandName of Redirect:

<asp:Button id=btnPrevious CommandArgument="CheckOut.aspx" OnClick="ButtonClick" CommandName="Redirect" Text="Previous" CausesValidation="false" runat="server"></asp:Button>