Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. text file

text file

Scheduled Pinned Locked Moved Visual Basic
questioncsshelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Makniteasy
    wrote on last edited by
    #1

    I have a problem with data in a text file. my data is a row in a data grid, but when i write my data to the file it writes it like this: 101405johnsmith050605. when it writes the data row like this, how do i get certain things to certain places? like 10 would be the record number and john smith would be the payee and 050605 would be the date. since it is not writen like this I cannot get john smith to textbox2 on form2 and i cant specify that i want 050605 to textbox3 form 2. how do i write the datarow so i can have certain pieces of it go to certain textboxes? Makniteasy

    M 1 Reply Last reply
    0
    • M Makniteasy

      I have a problem with data in a text file. my data is a row in a data grid, but when i write my data to the file it writes it like this: 101405johnsmith050605. when it writes the data row like this, how do i get certain things to certain places? like 10 would be the record number and john smith would be the payee and 050605 would be the date. since it is not writen like this I cannot get john smith to textbox2 on form2 and i cant specify that i want 050605 to textbox3 form 2. how do i write the datarow so i can have certain pieces of it go to certain textboxes? Makniteasy

      M Offline
      M Offline
      Maqsood Ahmed
      wrote on last edited by
      #2

      Hello, What technique have you adopted to write the data into the file? I think you should append space " " at the end of each data element while writing to the file. HTH. Maqsood Ahmed [MCP,C#] Kolachi Advanced Technologies http://www.kolachi.net

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups