Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# VB.NET
i want to write and read from a file such that character at fixed line and column no... please help me how to do that..
Posted 5-Dec-11 8:29am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You would have to use binary readin/writing.
 
915,000 google results for search phrase "C# random access file"[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You need to learn some basics of reading and writing in textfile before accomplish this task
How to: Read From a Text File (C# Programming Guide)[^]
How to: Write to a Text File (C# Programming Guide)[^]
whatever you can use
Dim lines As String() = IO.File.ReadAllLines("file path here") 
for more reference you can take a look at some given link
Read a certain line in a text file[^]
read a specific line from a txt file in VB .net[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 5,130
1 DamithSL 4,237
2 Maciej Los 3,700
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,846


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 22 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100