图片的保存 以流的形式实现图片文件的保存 string strConn ="Server=.;DataBase=TestDB;Integrated Security=true"; SqlConnection connection new SqlConnection(strConn); string no=listView1.Selectedltems[0].Subltems[0].Text; string sql ="update JBQK set Pic=@Pic where No=no"; SqlCommand command new SqlCommand(sql,connection); 1010 图片的保存 ▪ 以流的形式实现图片文件的保存 string strConn = "Server=.;DataBase=TestDB;Integrated Security=true"; SqlConnection connection = new SqlConnection(strConn); string no = listView1.SelectedItems[0].SubItems[0].Text; string sql = "update JBQK set Pic=@Pic where No=no"; SqlCommand command = new SqlCommand(sql, connection);