开发者

Is there a way to easily serialize form input into xml or yaml for database storage?

开发者 https://www.devze.com 2022-12-28 02:36 出处:网络
I am dealing with an old app in asp classic vbscript. I\'d like to store the input of a form in a database text field as the form fields are a subject to frequent开发者_如何学编程 change and I don\'t

I am dealing with an old app in asp classic vbscript. I'd like to store the input of a form in a database text field as the form fields are a subject to frequent开发者_如何学编程 change and I don't feel like normalizing the old database.

Any solutions for serialization in vbscript?

Thank you!


Try and use the Form collection.

Request.Form

http://www.w3schools.com/ASP/showasp.asp?filename=demo_simpleform1

ProTip - parse data into xml format. Then you have many more options for using the data.


I just found this json implementation in jscript for asp classic.

http://tforster.wik.is/ASP_Classic_Practices_For_The_21st_Century/JSON4ASP

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号