Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Importing Delimited Text Files
Message
 
To
20/12/2004 22:17:30
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00970872
Message ID:
00972327
Views:
15
Hi Martin,

Not much handy to .Net but yes with VFP you can.

And its very much possible by creating a dll in VFP,

Check help of VFP APPEND FROM
APPEND FROM FileName | ?   [FIELDS FieldList] [FOR lExpression]
   [[TYPE] [DELIMITED [WITH Delimiter | WITH BLANK | WITH TAB
      | WITH CHARACTER Delimiter] | DIF | FW2 | MOD | PDOX | RPD |
      SDF | SYLK | WK1 | WK3 | WKS | WR1 | WRK | CSV | XLS | XL5 
      [SHEET cSheetName] | XL8 [SHEET cSheetName]]] [AS nCodePage]
CURSORTOXML of VFP will provide you an XML file for .Net to pick up.



>Season's Greetings to one and all!!!
>
>Just would like to know how (if it is possible) to import a text file delimited with a pipe or vertical bar (|) into a DataTable. If this is not possible what would be the best way to retrieve the data and display it in a grid?
>
>Thanx! and MERRY CHRISTMAS to all DotNetters!!!
>
>Martin
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Previous
Reply
Map
View

Click here to load this message in the networking platform