简体   繁体   中英

How do I run SQL query on vb.net program inside PHC?

I'm trying to set a button on PHC to run a SQL query, but the program is on vb.net! Anyone knows how to do it?

My query is simple has:

UPDATE cl SET INACTIVO='1' WHERE cl.clstamp='#STAMP#'

I just cant run it via vb.net which is mandatory by the field.

ty in advance

对于也需要它的任何人,这里是:'declare string'将mcTsql转换为字符串'在字符串上获取查询'mcTsql =“ UPDATE cl SET INACTIVO ='1'WHERE cl.clstamp ='#STAMP#'”'用相应的函数调用它(在这种情况下是updatedata,因为我需要更新表)'webcontrollib.cdata.updatedata(mcTsql)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM