oracle 没用过,帮你顶!!~~~~~~~~~

解决方案 »

  1.   

    这个不是返回值,是输出类型的参数。 你可以按照一般附加参数的方法来添加,指定 ParameterDirection 为 Output 即可, 然后执行语句之后, 取 Parameters("@xxx").Value 即可。
      

  2.   

    to  inelm(木野狐)(坚持手写HTML是我唯一的选择):我还是不太明白
    能不能帮我改一下上面那个存储过程啊
      

  3.   

    好久不用ORACLE了 不知道存储过程是否有问题
    title1,content1参数是你要从ORACLE中获取的参数值(输出参数)
    有关C#中如何调用各种类型的存储过程建议到下面的网页去看看
    http://support.microsoft.com/default.aspx?scid=kb;zh-cn;310070&Product=vcSnet
      

  4.   

    mycommand.Text  = "过程名";
    mycommand.Parameters.Add(New OleDbParameter("id", OleDbType.VarChar, 2))
    mycommand.Parameters("id ").Value = ...
    mycommand.Parameters.Add(New OleDbParameter("title1", OleDbType.VarChar, 2))
    mycommand.Parameters("title1 ").Direction = ParameterDirection.Output;
    mycommand.Parameters.Add(New OleDbParameter("content1",OleDb.OleDbType.Binary, FileLength))
    mycommand.Parameters("content1").Direction = ParameterDirection.Output;