$.ajax({ type: "POST", url: "../dbFile.asp", data: {"Id"="10"}, error: function(XMLHttpRequest, textStatus, errorThrown){ alert(textStatus); }, success: function(result){ alert("success"); } }); return false; });
Function GetAllRecords() dim cmd, rs set cmd=Server.CreateObject("ADODB.Command") cmd.ActiveConnection = conn cmd.CommandType = 4 cmd.CommandText = "GetAllRecords" set rs=Server.CreateObject("ADODB.Recordset") set rs=cmd.Execute() set GetAllRecords= rs set rs=nothing set cmd=nothing End Function
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)