And in code-behind:
this.ClientScript.RegisterOnSubmitStatement(this.GetType(), "EscapeField", "EscapeField();")
Update: Again, warning - if you save HTML in your database like this, and then just display it to the client, you are directly vulnerable to XSS attacks. There are worms out there that will find and exploit your web site. Make sure you cleanse the HTML you are getting.