共用方式為


DataURL Property

Specifies the location of the data file.

Syntax

[ sValue = ] TDC.DataURL

Possible Values

sValue String expression that points to the data file using a standard URL format such as http:, ftp:, or file: (for example, https://www.microsoft.com/dummy/testdata.txt).

The property is read/write. The property has no default value.

Remarks

Normally the DataURL property is specified in the Web page along with the object tag for the Tabular Data Control (TDC). However, if you change this property after the page has been loaded, this will cause the data file to be loaded on the next Reset. The most common use for DataURL is to set AppendData to TRUE and combine multiple different data files. It could also be used to force the data to be read a second time. You could use this to force a refresh during debugging, for example.

Applies To

TDC

See Also

AppendData, Reset