|
|
Online Product Info
|
| CSVFileName Property |
|
|
Overview Description CSVFileName=”” (Same as not specifying this property, and would create a random named CSV File) CSVFileName=”MyData.csv” (Would create the csv file in the same directory as your form) CSVFileName=”/data/MyData.csv” (Would create the csv file in your data directory) CSVFileName=”C:\somedir\data\MyData.csv” (Would create the csv file in the physical path you specify) Please note that the directory that CSV files are written to must provide the ASPNET account with read/write/modify/delete rights. Example of a CSV File Created by ASP.NET Auto DB Full_Name,Company,Website_Address,Email_Address,OptIn John Doe,ACME Inc,http://www.acme.com,jdoe@acme.com,Yes Jane Doe,WHAM Ltd,http://www.wham.com,jdoe@wham.com,Yes
Listing A
Usage
<cc1:AutoDB id="AutoDB1"
runat="server"
CSVAction="Store"
CSVFileName="Data/NewsletterSubscriptions.csv"> </cc1:AutoDB>
Listing B
Related Properties CSVAction, CSVDelimiter, CSVIncludeHeader
|
| © copyright 2004 360 IMPACT. All rights reserved.
|