日期:2014-05-20  浏览次数:20477 次

用asp.net怎样在oracle中存/取长文本?
有没有简单的列子?

------解决方案--------------------
请参考:

http://community.csdn.net/Expert/TopicView3.asp?id=5091038

------解决方案--------------------
if ( ds.Tables[ "tAttrFile "].Columns[sFieldName].DataType == typeof(System.Byte[]))
{
byte[] MyData= (byte[]) ds.Tables[ "tAttrFile "].Rows[j][sFieldName];
int ArraySize = new int();
ArraySize = MyData.GetUpperBound(0);

FileStream fs = new FileStream(sTempFileName,FileMode.OpenOrCreate, FileAccess.Write);
fs.Write(MyData, 0,ArraySize + 1);
fs.Close();
}

http://www.cnblogs.com/calmzeal/archive/2006/04/19/379109.html