Recordset in asp and execute stored procedure in asp
I want to open another .asp page from one .asp page on button click following is the code i have done but error is coming Error is coming as "operation is not allowed when the object is closed" Here is the code Dim dbconn, objCmd, objParam, rs, EmailID, Password, connString, RecordCount connString = "Connectionstring" dbconn = Server.CreateObject("ADODB.Connection") dbconn.Open(connString) rs = Server.CreateObject("ADODB.RecordSet") objCmd = Server.CreateObject("ADODB.Command") objCmd.ActiveConnection = dbconn objCmd.CommandText = "sp_Name" objCmd.CommandType = &H0004 objParam = objCmd.CreateP
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.