string path=@"F://desktop//1car09.jpg";
System.IO.FileStream fs = new System.IO.FileStream(path,System.IO.FileMode.Append,System.IO.FileAccess.Write,System.IO.FileShare.Write);
fs.Close();
System.IO.StreamWriter sw = new System.IO.StreamWriter(path,true,System.Text.Encoding.Default);
sw.Write(this.TextBox1.Text);
sw.Close();
Response.Write("<script language='javascript'>alert('写入成功!');</script>");
把TextBox1 的内容写入了图片里!