在VB中怎么调用存储过程

谁能给我一个调用存储过程的通用函数
2024-11-06 15:27:33
推荐回答(1个)
回答1:

Private Sub Command1_Click()
Print mianji(10)
End Sub

Private Function mianji(banjin As Long) As Long
Const pi = 3.1415926
mianji = pi * banjin ^ 2

End Function