How can I change the action of a form through code

Platform: ASP.NET|Category: Basic

You can’t change it. The action attribute is owned by ASP.NET. Handle Events and Transfer.

For work around refer to Paul Wilson’s Multiple Forms and Non-PostBack Forms – Solution