Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
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 
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 
Thanks for your fast reply. I didn't go with multiple tables. I definitely should have but being it is a small simple database I didn't take the time to setup relationships. Anyway, for anyone interested in how to do this if your beginning like I am then based on the links provided I wrote the following to get a Unique Author First and LastName and also Get the titles grouped by the unique author.

        #region Make tree view

        /**************************************************************************************
         * Make a Tree view of the Authors and their books
         * Reference: http://social.msdn.microsoft.com/Forums/en/winformsdatacontrols/thread/b76525c5-0829-49b5-8c21-0cc5843eefb5
         **********************************************************************************************/
        private void PopulateTreeView1()
        {
                      
            
            bookdbDataSet Dataset = bookdbDataSet;
            bookListTableAdapter.Fill(Dataset.BookList);
            bookdbDataSet uAuthor = bookdbDataSet; //unique author filter for dataset (select DISTINCT)

            bookListTableAdapter.FillBydauthor(uAuthor.BookList);
            
           // Create the RootNode
                  TreeNode rootNode = treeView1.Nodes.Add("Authors");
                  rootNode.ImageIndex =0 ;
                  
                  foreach (DataRow Row in uAuthor.Tables[0].Rows)
                  {
                      TreeNode tn = new TreeNode(Row["AuthorLast"].ToString()+','+Row["AuthorFirst"].ToString());
                       foreach (DataRow Child in uAuthor.Tables[0].Rows)
                       {
                           tn.Nodes.Add(Child["Title"].ToString());
                       }
                       treeView1.Nodes.Add(tn);
                  }

              }

#endregion

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 
GeneralRe: how to split input integer variable [modified] Pin
Luc Pattyn22-Jan-10 11:32
sitebuilderLuc Pattyn22-Jan-10 11:32 
GeneralRe: how to split input integer variable Pin
#realJSOP22-Jan-10 12:46
professional#realJSOP22-Jan-10 12:46 

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.