ado| Data | Database Many people may have their own ASP personal homepage, but there is not a lot of database permissions, today I give a method. You can build a library of your own. Not in Access or SQL Server format. is to build a format of your own. (It sounds high and deep!) The previous development of a database, are some very powerful system analyst O! Let's make some modifications today! )
That's it. Control.
Tdc:tabular Data Control.
Usage: <object id=countsrc classid= "Clsid:333c7bc4-460f-11d0-bc04-0080c7055a83" >
<param name= "value=" ">
</object>
Parameters may have:
AppendData: Whether to add new database records.
CharSet: Whether the database ignores case.
Dataurl: Database address.
Escapechar: Sets the overflow character.
Fielddelim: Set data non-transposition, default to ","
Language: The default is 中文版
Recordset: Sets the DataSet.
Sort: Sorts the way.
Useheader: Sets whether the first row is a header row.
............
There are a few I can not translate. I didn't use it.
The specific use is the above code!
Liezi. Look at Microsoft's this. 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
<param name=dataurl value= "srcrel.asp" >
<param name=useheader value= "True" >
</object>
Ha ha. I also built a
The first behavior header row. is the name of the column:
Number,name,sex,age
001,dreams,boy,2x
002,starleee,boy,2x
003,aa,boy,3x
004,,bb,3x
See it. I saved him in my format. Starleee.txt
And then you can call it.
<object id=countsrc classid= "Clsid:333c7bc4-460f-11d0-bc04-0080c7055a83" border=0 width=0
<param name=dataurl value= "Starleee.txt" >
<param name=fielddelim value= "," > "I was separated by", ".
<param name=useheader value= "True" >
</object>
This is my database.
Cool and not cool. Then you can think of it as a database. A cursor that builds a client. Use ADO method, combine RDS to use bar.
The effect is good! What's the use of him? Think about it. He can use it on a free home page that doesn't support the database. Now many ISPs are not letting you use Access, or SQL Server. So we can finish it. Build a library of your own. and then call it. As long as he supports IE. (nonsense, support ASP's affirmative support ie.) )