dbz dbz

dbz dbz

  • NA
  • 14
  • 1.6k

Displaying Data from text file in Table form

Mar 25 2016 1:53 PM
Hi Guys,
 
I'm a newbie in c# programming and sideways working on some personal projects  which help me to learn c# faster and with new ideas.
So i'm stuck on a issue where i have a text file from which i need to retrieve some data and display on winform.
 
~ba~bcas~asdasda~~~~~^123~xxxxx~sas~asda~fsdf~^234~xxxx~asas~fdafd~dfsdf~fadsfads~^789~xxx
 so on...
 
 Above data is from my text file from which i need it to be displayed like this :-
 
123 xxxx
234 xxxx
789 xxxx 
 
I tried split but didn't getting any success. as i can get my hands on ^(Value) but not after that..
Can any body tell how to do it.
 
Please and Thanks 

Answers (7)