on-internet
← Community

Recordset in asp and execute stored procedure in asp

Stack Overflow ·

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

Comments

Sign in or sign up to comment and upvote.

No comments yet.