首页 > 解决方案 > 如何从按钮单击执行存储过程 - 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    
 %>

标签: asp.net

解决方案


推荐阅读