Include in my Database with dataprocessor

Hi,



I’ve got a problem with dataprocessor. How Can I have make the update.php but in asp ? I try to make my Update.asp but i’ve got 0 error message and the dataprocessor does’nt insert or update in my database.



My ASP Code is like :







<%



’ […] code for my connection to Database



Response.ContentType = “text/xml”

response.write("<?xml version=""1.0\"" encoding=""iso-8859-1""?>\n")



if request("!nativeeditor_status") or trim(request("!nativeeditor_status")=“inserted”) then



    ’ […] code for my INSERT



else if request("!nativeeditor_status") or request("!nativeeditor_status")=“deleted” then



    ’ […] code for my DELETE



else



    ’ […] code for my UPDATE



end if

end if





’ […] code for close my database

%>







    <%

    if newId<>0 then

        response.write("")

    else

        response.write(“SQL query error”)

    end if

    %>







I’m lost and I don’t see what the function dataprocessor.senddata do, can i get the data send with the method get by the dataprocessor for verify my data ?







Sorry for my bad english and thank you for your answers.







Hugues Dehen.



The code seems correct, you can enable debug output of dataprocessor as
    dataproc.enableDebug(true)
it will show info about data sent to server and response received from server.

Please contact us directly at support@dhtmlx.com and provide your ref. number - we will send a sample of grid with dataprocessor coded in ASP