Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Carriage Return/Line Feed Puzzle
Message
From
18/12/2005 18:34:21
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/12/2005 09:59:11
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01078811
Message ID:
01079051
Views:
33
>Thank you for the detailed example, but I am afraid you have lost me. (I've only been working with aps.net and vb.net for a couple of months.) Is the trick here to use a streamreader to insert the memo fields? In my web page I am building up the "Update" command one text box at a time. I then pass the command off to a business object that uses the execute nonquery method to apply it to my foxpro database. I am currently pursuing a way to use string replacement to substitute any found "vbcrlf" strings with the "chr(13)+chr(10)" string as I build up the Update command. I haven't fully tested it yet though.

Stephen,
Code was crystal clear. It shows that either from a string object or from an external file you can easily update the memo using VFPOLEDB driver.
string myStr = "some string";
is same as:
dim myStr as string
myStr = "some string"
in VB.Net.
What does it matter if you're only working with ASP.Net and VB.Net.VB.Net too uses the same ADO.Net classes. The only difference in that example is codebehind language is C#.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform