有返回值的存储过程 oracle 没用过,帮你顶!!~~~~~~~~~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这个不是返回值,是输出类型的参数。 你可以按照一般附加参数的方法来添加,指定 ParameterDirection 为 Output 即可, 然后执行语句之后, 取 Parameters("@xxx").Value 即可。 to inelm(木野狐)(坚持手写HTML是我唯一的选择):我还是不太明白能不能帮我改一下上面那个存储过程啊 好久不用ORACLE了 不知道存储过程是否有问题title1,content1参数是你要从ORACLE中获取的参数值(输出参数)有关C#中如何调用各种类型的存储过程建议到下面的网页去看看http://support.microsoft.com/default.aspx?scid=kb;zh-cn;310070&Product=vcSnet 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; 如何将括号内的内容替换为制定的内容 RDLC报表导出Excel中遇到的一个问题,急急急!!!! 准备分享下自动化测试的操作手顺书,大家有没有需要的。 求救啊!关于DataGridView 一个小问题 大家帮帮忙啊! c#如何输出enter键的ascii码值? C#如何才能登录上163.com的pop3服务器 WebBrowser 控件的使用功能详细讲解下,不胜感激。 C#.net OleDbDataAdapter.Fill出错! winform中如何判断menuitems某一项被选中? 安装程序的原理,希望明白人给讲解下 SQL Server Reporting Services sn
能不能帮我改一下上面那个存储过程啊
title1,content1参数是你要从ORACLE中获取的参数值(输出参数)
有关C#中如何调用各种类型的存储过程建议到下面的网页去看看
http://support.microsoft.com/default.aspx?scid=kb;zh-cn;310070&Product=vcSnet
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;