日期:2014-05-18  浏览次数:20964 次

我下面这段代码,,,
private void button1_Click(object sender, EventArgs e)
  {
  OracleConnection con = new OracleConnection("USER ID=TOSMECUSER;Password=TOSMECUSER;Data Source=Tosmec;");
  DataSet ds = new DataSet();
  OracleDataAdapter da = new OracleDataAdapter("select sub_order_lob from tos_d_suborder where sub_order_id =326407 ", con);
  da.Fill(ds);
  foreach (DataRow dr in ds.Tables[0].Rows)
  {
  object blob = dr["sub_order_lob"];
  if (blob != DBNull.Value)
  {
  if (((byte[])blob).Length > 0)
  {
  OrderItemCollection objResult = (OrderItemCollection)TransBlobToObject(blob);
  }
  }
  }
  }
  public object TransBlobToObject( object blob )
  {
  object serializedObject = null;
  MemoryStream stream = null;
  IFormatter formatter = null;
  if ((byte[])blob != null)
  {
  stream = new MemoryStream();
  formatter = new BinaryFormatter();
  stream.Write((byte[])blob, 0, ((byte[])blob).Length);
  stream.Seek(0, SeekOrigin.Begin);
  serializedObject = formatter.Deserialize(stream);
  }
  return serializedObject;
  }
  }


报unable to find assembly 'cis version 1.0.0.0 publickeyToken = xxxxxx'错误,,请问怎么回事啊

------解决方案--------------------
没遇到过这错误