ASP 3.0 Declare ADO Constants w/out Including ADOVBS.inc

前端 未结 3 731
情歌与酒
情歌与酒 2021-01-20 07:29

I\'ve written a simple form handler script using ASP3.0/VBScript and would like to add the inputted data (via the web) to an Access database located on my server. I\'m using

3条回答
  •  时光说笑
    2021-01-20 07:47

    you have a couple of options to choose from. You can reference the metadata library in your page ( or in your global.asa file ) with

    
    

    or

    you can simply copy a few constants from the adovbs file into your page to cover your needs. For example

    Const adCmdText = 1      'Evaluate as a textual definition    
    Const adCmdStoredProc = 4 'Evaluate as a stored procedure
    

提交回复
热议问题