解决方案 »
- C# 往数据库int字段写入空值问题
- WinForm检测用户是否已登陆的方法--简单问题--请高手回答!
- 获取DropDownList选中的值,通过.SelectedItem.ToString()怎么总是得到index为0的项,详见内容
- 使用事件触发器怎么会提示异常错误~
- [winforms]: 根据ASCII码获得字母
- textbox锁定前二位,不允许修改!!!
- C# 生成ppt文件
- 如何取得datagrid中一个字段的值(简单问题,在线等待)
- 求数据库打包意见
- 【dataGrid严重问题】关于DataGrid控件中的数据显示和对双击事件相应的严重问题,敬请关注
- 关于winform调用外网地址的webservice的问题
- DataGridViewComboBoxColumn绑定数据报错
System.Drawing.Image drawimage = System.Drawing.Image.FromFile(photopath);
//photopath表示图片的物理地址
drawimage.RotateFlip(RotateFlipType.Rotate270FlipNone);
if(File.Exists(photopath))
{
File.SetAttributes(photopath,FileAttributes.Normal);
File.Delete(photopath);
}
drawimage.Save(photopath,System.Drawing.Imaging.ImageFormat.Jpeg);
drawimage.Dispose();
Invert(b);
this.pictureBox1.Image=b;