How to use ADO on the ASP homepage that does not support databases

Source: Internet
Author: User

Many people may have their own ASP personal homepage, but there are not many users with database permissions. Today I will give you a method. You can create a database by yourself. No access or SQL Server format is required. Create a format by yourself. (It sounds very profound! I used to develop a database, which is a very powerful system analyst! Let's make a try today !)
This is the control.
TDC: tabular data control.
Usage: <Object ID = countsrc classid = "CLSID: 333c7bc4-460f-11d0-bc04-0080c7055a83">
<Param name = "" value = "">
</Object>
Parameters may include:
Appenddata: whether to add new database records.
Charset: whether the database is case-insensitive.
Dataurl: Database address.
Escapechar: Specifies the overflow character.
Fielddelim: Set the data bit shard. The default value is ","
Language: The default value is English.
Recordset: Set a dataset.
Sort: sorting method.
Useheader: sets whether the first line is the title line.

............
I will not translate a few other words. I didn't use it.
The specific usage is as follows: Code !
Column. Look at Microsoft. As you can see, its database is actually an ASP file.
<Object ID = countsrc classid = "CLSID: 333c7bc4-460f-11d0-bc04-0080c7055a83" border = 0 width = 0 Height = 0>
<Param name = dataurl value = "srcrel. asp">
<Param name = useheader value = "true">
</Object>
Haha. I also set up
The first row is the title line. Is the column Name:
Number, name, sex, age
001, dreams, boy, 2x
002, starleee, boy, 2x
003, AA, boy, 3x
004, BB, 3x
See it. I saved it as my format. Starleee.txt
Then you can call it.
<Object ID = countsrc classid = "CLSID: 333c7bc4-460f-11d0-bc04-0080c7055a83" border = 0 width = 0 Height = 0>
<Param name = dataurl value = "starleee.txt">
<Param name = fielddelim value = ","> 'I separate them.
<Param name = useheader value = "true">
</Object>
This is my database.
Cool and cool. Then it can be used as a database. Create a client cursor. Use ADO in combination with RDS. Good results! What is his use. Think about it. He can use it on the free ISP homepage that does not support databases! Currently, many ISPs do not allow you to use access or SQL Server. We can do this. Create a database of your own. Then you can call it. As long as it supports IE. (Nonsense. Support for ASP must support ie .)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.