asp.net - 如何从按钮单击执行存储过程 - ASP.NET
问题描述
任何帮助表示赞赏。
谢谢!
我正在尝试此代码,但我不知道如何将其链接到按钮:
Dim rs
Call GetdbConnection()
With cmd
.namedParameters=true
.Commandtext = adCmdStoredProc
.CommandType = "dbo.Up_GetMaxWeightedScores"
.Parameters.Append.CreateParamete("@asof_date",adInteger,adParamInput, 50, asof_date)
.Execute
End with
Set rs = cmdObj.Execute
%>
解决方案
推荐阅读
- python - 如何导入 pip 安装包?
- mongoose - Mongoose findOne 返回所有子文档
- hibernate - 由于内部连接导致休眠导致重复结果:如何解决?
- mysql - 想要在 aws lambda 中的 nodejs 上实现快速 csv,并给出错误:退出状态 129 Runtime.ExitError
- firebase - 如何从具有属性匹配/或子集合不匹配的父集合中检索云存储库中的文档
- c# - 解析时如何循环遍历xml文档?
- java - 检查外部活动是否成功打开?
- php - SQL:连接两个表,每行重复计数?
- html - 在 htm 中创建 wsc 文件的对象并访问 wsc 函数
- ssis - 减少运行时转换包