存储过程名为:PRE_TO_REC~!
有经验的说说~!谢谢了~!
再解决不了,要走人咯~!哎,失败~!
有经验的说说~!谢谢了~!
再解决不了,要走人咯~!哎,失败~!
解决方案 »
- 怎么编写字符串分割函数
- 一个简单的问题,类的属性和全局变量
- 再发一帖,着急用呀!!!!!,高手赶紧给我指点一下,感激不尽!!!!
- 谁能解释解释吗?好多看不懂!
- vb和sql存储过程的问题
- word中的文件(包括图像)能直接粘贴到IE中吗?????
- 怎样将从串口读取的字节写成DAT文件?
- 关于COMBO控件的问题
- 用script 控制 radio 当等于cheched 的时候 另一个input type="password" 当他不等于cheched的时候也就是不选择的时候 type="hidden"
- 关于写帮助文件的问题
- 做个小调查, 畅所欲言吧 答者有分
- 怎么让form_load出错时关掉该窗体?
http://www.mypcera.com/softxue/new/vb/ba50.htm
Dim cn As ADODB.Connection
Dim rs As ADODB.Recordset
Dim sql As String
Dim comm As New ADODB.Command
Set cn = New ADODB.Connection
cn.Open "Driver={SQL Server};Server=LPY;Uid=sa;Pwd=;database=CY"
comm.ActiveConnection = cn
comm.CommandType = adCmdStoredProc
comm.CommandText = "lpy"
Set rs = comm.Execute(1, Text1.Text)
Set MSHFlexGrid1.DataSource = rs
End Sub************存储过程******************
use CY
go
if exists(select name from sysobjects where name= 'lpy' and type='p')
drop procedure lpy
go
create procedure lpy
@money int
as
select * from Cgongzi where 底薪>=@money
order by 底薪 desc
go
dim rt as long
rt=dataenvironment1.cunchuguocheng(canshu1,canshu2...)