How to load text from log file in listview

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dragan Ristic

    How to load text from log file in listview

    Can any one tell how can I load text from log file (.log, .txt) in
    ListView control (Details view). I have log file like this:

    Date and Time ; User Name ; Some event
    Date and Time ; User Name ; Some event

    and i wish load this to ListView columns (Time, User, Event).

  • GhostInAK

    #2
    Re: How to load text from log file in listview

    Hello Dragan,

    Check out System.IO.FileS tream, System.String, and System.Windows. Forms.Listview
    classes.

    -Boo
    Can any one tell how can I load text from log file (.log, .txt) in
    ListView control (Details view). I have log file like this:
    >
    Date and Time ; User Name ; Some event
    Date and Time ; User Name ; Some event
    and i wish load this to ListView columns (Time, User, Event).
    >

    Comment

    Working...