3 Replies - 2893 Views - Last Post: 03 February 2011 - 12:34 AM Rate Topic: -----

#1 aGENT13   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 03-June 10

Need help with dynamically populating tree view with text from a notep

Posted 02 February 2011 - 02:11 AM

hi,

This is my first post here on this forum.

The problem i am facing is on how i could dynamically populate tree view with text from a .txt file. I need to put the text in tree view format on Windows forms app . I have tried searching for codes and all i ended up with was how to manually enter values into the code for it to be present in tree view, which makes the code cumbersome and i have a lot of text which makes it virtually impossible for me to write a code that big.

Thanking you in advance

Is This A Good Question/Topic? 0
  • +

Replies To: Need help with dynamically populating tree view with text from a notep

#2 tlhIn`toq   User is offline

  • Xamarin Cert. Dev.
  • member icon

Reputation: 6537
  • View blog
  • Posts: 14,450
  • Joined: 02-June 10

Re: Need help with dynamically populating tree view with text from a notep

Posted 02 February 2011 - 06:56 AM

So you're saying your tutorial shows you how to make new tree nodes.
So you just need to be able to read a text file then.
Here ya go
http://msdn.microsof...y/db5x7c0d.aspx

Put that together and post your genuine effort to code this.
Was This Post Helpful? 0
  • +
  • -

#3 Sergio Tapia   User is offline

  • D.I.C Lover
  • member icon

Reputation: 1258
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: Need help with dynamically populating tree view with text from a notep

Posted 02 February 2011 - 07:04 AM

http://www.c-sharpco...viewbasics.aspx

+

http://msdn.microsof...y/db5x7c0d.aspx

=

A Happy Agent13! :D Hope you can solve this bad boy, you'll feel great. ;) Post here if you have any issues.
Was This Post Helpful? 0
  • +
  • -

#4 aGENT13   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 03-June 10

Re: Need help with dynamically populating tree view with text from a notep

Posted 03 February 2011 - 12:34 AM

thanks a ton ...... those links helped me a lot... once i make headway, will post my codes here !!

thank you
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1