Click here to Skip to main content
16,006,001 members
Home / Discussions / C#
   

C#

 
GeneralRe: Image processing Pin
OriginalGriff22-Jan-10 22:21
mveOriginalGriff22-Jan-10 22:21 
GeneralRe: Image processing Pin
Member 333222822-Jan-10 22:53
Member 333222822-Jan-10 22:53 
GeneralRe: Image processing Pin
OriginalGriff23-Jan-10 0:46
mveOriginalGriff23-Jan-10 0:46 
GeneralRe: Image processing Pin
molesworth23-Jan-10 5:17
molesworth23-Jan-10 5:17 
Questionmarshalling linked list Pin
anishkannan22-Jan-10 17:59
anishkannan22-Jan-10 17:59 
AnswerRe: marshalling linked list Pin
dybs22-Jan-10 19:59
dybs22-Jan-10 19:59 
AnswerRe: marshalling linked list Pin
DaveyM6922-Jan-10 23:16
professionalDaveyM6922-Jan-10 23:16 
QuestionPopulating a Treeview from a dataset in c# Pin
tonyonlinux22-Jan-10 16:30
tonyonlinux22-Jan-10 16:30 
Okay, I'm still fairly new to the whole c# coding world so please don't beat me up too bad.
I was wondering if someone could shed some light on me with how I would go about doing the following..

I have a database setup to keep track of my books and I wanted to make a treeview to list the authors and then each book that I have by that author. Well lets say I have 4 books for the example

Database consist of ID, Author, Title

row 1 : 1, Tony Stegall, First book
row 2 : 2, Joe Smith, Joe Says Hi
row 3 : 3, Tony Stegall, Second book
row 4 : 4, Jim Smith, Jim has a friend named Joe


How in the heck can i get it to print out something like this
Smith,Jim
  - Jim has a friend named Joe
Smith,Joe
 - Joe Says Hi
Stegall, Tony
  - First Book
  - Second Book


Would I have to run a filter on each authorname? Or is there some other way to do this? Just trying to learn this stuff but not really sure how to go about it. I pretty much understand the whole treeview add a parent then add a child deal but I'm not sure how to get the childs to be placed under the unique parent...


Thanks for your help.
AnswerRe: Populating a Treeview from a dataset in c# Pin
Anurag Gandhi22-Jan-10 17:23
professionalAnurag Gandhi22-Jan-10 17:23 
GeneralRe: Populating a Treeview from a dataset in c# Pin
tonyonlinux22-Jan-10 18:00
tonyonlinux22-Jan-10 18:00 
GeneralRe: Populating a Treeview from a dataset in c# Pin
Anurag Gandhi23-Jan-10 7:43
professionalAnurag Gandhi23-Jan-10 7:43 
QuestionRe: Populating a Treeview from a dataset in c# Pin
tonyonlinux23-Jan-10 10:07
tonyonlinux23-Jan-10 10:07 
QuestionCreating ASP.NET server control with design-time capabilities Pin
[DK]KiloDunse22-Jan-10 11:04
[DK]KiloDunse22-Jan-10 11:04 
AnswerRe: Creating ASP.NET server control with design-time capabilities Pin
Not Active22-Jan-10 11:11
mentorNot Active22-Jan-10 11:11 
GeneralRe: Creating ASP.NET server control with design-time capabilities Pin
[DK]KiloDunse22-Jan-10 11:16
[DK]KiloDunse22-Jan-10 11:16 
GeneralRe: Creating ASP.NET server control with design-time capabilities Pin
Not Active22-Jan-10 11:28
mentorNot Active22-Jan-10 11:28 
AnswerRe: Creating ASP.NET server control with design-time capabilities Pin
[DK]KiloDunse22-Jan-10 15:54
[DK]KiloDunse22-Jan-10 15:54 
QuestionINotifyPropertyChanged, attributes and notification cascade Pin
N4sh22-Jan-10 9:15
N4sh22-Jan-10 9:15 
Questionhow to split input integer variable Pin
arungracy22-Jan-10 9:15
arungracy22-Jan-10 9:15 
AnswerRe: how to split input integer variable Pin
loyal ginger22-Jan-10 9:22
loyal ginger22-Jan-10 9:22 
GeneralRe: how to split input integer variable Pin
Som Shekhar22-Jan-10 9:39
Som Shekhar22-Jan-10 9:39 
AnswerRe: how to split input integer variable Pin
#realJSOP22-Jan-10 10:23
professional#realJSOP22-Jan-10 10:23 
GeneralRe: how to split input integer variable Pin
Luc Pattyn22-Jan-10 10:46
sitebuilderLuc Pattyn22-Jan-10 10:46 
GeneralRe: how to split input integer variable Pin
#realJSOP22-Jan-10 11:05
professional#realJSOP22-Jan-10 11:05 
AnswerRe: how to split input integer variable [modified] Pin
#realJSOP22-Jan-10 10:36
professional#realJSOP22-Jan-10 10:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.