c#取long raw类型的字段 取得的值是空的 OracleDataAdapter adapter_1 = new OracleDataAdapter(cmd_1) 5
selectfjnrfromsurver_fcfh_fjfjnr是longraw类型的DataTabledt_1=newDataTable();OracleCommand...
select fjnr from surver_fcfh_fj
fjnr是long raw类型的
DataTable dt_1 = new DataTable();
OracleCommand cmd_1 = new OracleCommand(sql_1, conn);
OracleDataAdapter adapter_1 = new OracleDataAdapter(cmd_1);
adapter_1.Fill(dt_1);
foreach (DataRow row in dt_1.Rows)
{
Byte[] fileByte_1 = null;
string filename_1 = "";
if (row["fjnr"] != System.DBNull.Value)
{
fileByte_1 = (byte[])(row["fjnr"]);
取得的fileByte_1 的值是空的 展开
fjnr是long raw类型的
DataTable dt_1 = new DataTable();
OracleCommand cmd_1 = new OracleCommand(sql_1, conn);
OracleDataAdapter adapter_1 = new OracleDataAdapter(cmd_1);
adapter_1.Fill(dt_1);
foreach (DataRow row in dt_1.Rows)
{
Byte[] fileByte_1 = null;
string filename_1 = "";
if (row["fjnr"] != System.DBNull.Value)
{
fileByte_1 = (byte[])(row["fjnr"]);
取得的fileByte_1 的值是空的 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询