using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Drawing;
public
partial
class
_Default : System.Web.UI.Page
{
protected
void
Page_Load(object sender, EventArgs e)
{
}
protected
void
Button1_Click(object sender, EventArgs e)
{
string path = Server.MapPath(Image1.ImageUrl);
System.Drawing.Image img = System.Drawing.Image.FromFile(path);
img.RotateFlip(RotateFlipType.Rotate90FlipXY);
img.Save(path);
img.Dispose();
}
}