Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 23rd, 2004, 09:16 PM
Registered User
 
Join Date: Aug 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reading data from files and writing it to database

Hello,
I am working on a apllication in which i need to take data from a .dat file and write to database and vice varsa.
Can any body guide me how to proceed

Thanks and Regards
Alok Gupta
 
Old February 24th, 2004, 12:33 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

The System.IO namespace contains many classes for reading/writing from/to files. Combine those with the right byte array conversions and you can get your files in and out of the database.

System.IO:
http://msdn.microsoft.com/library/de...rfsystemio.asp

Peter
------------------------------------------------------
Work smarter, not harder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading and Writing data from Excel using VB? honey123 VB How-To 0 March 25th, 2006 08:48 AM
writing and reading files on HDD from VBA out5yder Access VBA 3 October 6th, 2005 02:43 AM
Writing data to database cdenequolo Classic ASP Databases 2 August 17th, 2004 08:00 PM
Writing data to binary files maniac_ie C++ Programming 2 February 24th, 2004 12:30 PM
Reading/Creating/Writing Excel FIles p_nut33 C# 1 September 2nd, 2003 12:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.