c# SQL数据库image图片文件的保存于读取
SqlConnection con = new SqlConnection("Persist Security Info=False;User id=sa;pwd=123;database=WDERPDATA_001;server=(local)");
con.Open();
SqlDataAdapter dat = new SqlDataAdapter("select*from TLFGL_LFRY", con);
DataSet set = new DataSet();
dat.Fill(set);
DataTable tb = set.Tables[0];
DataRow rw = tb.Rows[0];
DataColumn cl = tb.Columns[0];
//MessageBox.Show( cl.ColumnName.ToString());
byte[] MyData = new byte[0];
// MyData=tb.Rows[1]["AU_LFRY_ZJZ"];
System.Text.StringBuilder temp = new System.Text.StringBuilder(255);
Image _Image = Image.FromStream(new MemoryStream((byte[])tb.Rows[0]["AU_LFRY_ZJZ"]) );
pictureB