CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Posts
    2

    Replacing a data in a data file

    I have a .csv file saved with firstname, lastname, address, phone informantion. when form is loaded, the firstname and last name will be loaded into a list box, the address and phone will be loaded into an array, when i click a name in the list box, all information about this person will be populated into four text boxes, then i do some changes in the text boxes. How can i save these information back to .csv file and replace the original one.


    Thanks


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Replacing a data in a data file

    I'd read in the complete file into memory and write the complete file with all changes (insertions, deletions and modifications) when the user hits the Save button.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured