Click here to Skip to main content
15,898,769 members
Home / Discussions / C#
   

C#

 
QuestionTranslating key codes to a System.Windows.Forms.Keys value. Pin
Shy Agam24-Oct-06 6:25
Shy Agam24-Oct-06 6:25 
AnswerRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Ed.Poore24-Oct-06 6:32
Ed.Poore24-Oct-06 6:32 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Shy Agam24-Oct-06 6:48
Shy Agam24-Oct-06 6:48 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Ed.Poore24-Oct-06 12:08
Ed.Poore24-Oct-06 12:08 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Ed.Poore24-Oct-06 12:09
Ed.Poore24-Oct-06 12:09 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Shy Agam24-Oct-06 12:43
Shy Agam24-Oct-06 12:43 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Ed.Poore24-Oct-06 13:06
Ed.Poore24-Oct-06 13:06 
GeneralRe: Translating key codes to a System.Windows.Forms.Keys value. Pin
Shy Agam24-Oct-06 13:19
Shy Agam24-Oct-06 13:19 
Questionodbcdatareader hangs on close Pin
BlackDice24-Oct-06 5:19
BlackDice24-Oct-06 5:19 
AnswerRe: odbcdatareader hangs on close Pin
ednrgc24-Oct-06 6:27
ednrgc24-Oct-06 6:27 
GeneralRe: odbcdatareader hangs on close Pin
BlackDice24-Oct-06 6:47
BlackDice24-Oct-06 6:47 
GeneralRe: odbcdatareader hangs on close Pin
ednrgc24-Oct-06 6:54
ednrgc24-Oct-06 6:54 
GeneralRe: odbcdatareader hangs on close Pin
BlackDice24-Oct-06 8:33
BlackDice24-Oct-06 8:33 
GeneralRe: odbcdatareader hangs on close Pin
ednrgc24-Oct-06 8:39
ednrgc24-Oct-06 8:39 
GeneralRe: odbcdatareader hangs on close Pin
BlackDice24-Oct-06 9:04
BlackDice24-Oct-06 9:04 
GeneralRe: odbcdatareader hangs on close Pin
BlackDice24-Oct-06 9:15
BlackDice24-Oct-06 9:15 
GeneralRe: odbcdatareader hangs on close Pin
BlackDice24-Oct-06 9:02
BlackDice24-Oct-06 9:02 
AnswerRe: odbcdatareader hangs on close Pin
Eric Dahlvang24-Oct-06 10:40
Eric Dahlvang24-Oct-06 10:40 
GeneralRe: odbcdatareader hangs on close Pin
BlackDice24-Oct-06 11:20
BlackDice24-Oct-06 11:20 
QuestionGridView and outer joins Pin
lsugirljte24-Oct-06 5:02
lsugirljte24-Oct-06 5:02 
QuestionRe: GridView and outer joins Pin
lsugirljte25-Oct-06 3:31
lsugirljte25-Oct-06 3:31 
QuestionSorting through a Dataset with 1 method Pin
Gareth H24-Oct-06 3:11
Gareth H24-Oct-06 3:11 
The problem with my code at the moment is that it never goes to the second row, it will keep trying to query to the node detials. e.g: endless loop

I firstly pass the method the top node, and get its children.
So ExampleTopNode is passed to GetChildrenAndExpand, which inturn gets its children from the database and inserts it into the dataset (this works fine).

I then want to sort through ExampleTopNode's children which has now been inserted into "NodeInfo" table and get there children.

private void GetChildrenAndExpand(string Node_Name, string Node_Version)<br />
        {<br />
            //get children of the node and insert them into the NodeInfo table<br />
            GetChildrenFromDatabase(Node_Name, Node_Version); <br />
            <br />
            //get the data for the new rows that have been inserted<br />
            foreach (DataRow row in datatable.["NodeInfo"].Rows)<br />
            {<br />
                string NewNode_Name = row.ItemArray[0].ToString();<br />
                string NewNode_Version = row.ItemArray[1].ToString();<br />
<br />
                GetChildrenAndExpand(NewNode_Name, NewNode_Version); <br />
            }


Regards,
Gareth.
AnswerRe: Sorting through a Dataset with 1 method Pin
Not Active24-Oct-06 3:14
mentorNot Active24-Oct-06 3:14 
GeneralRe: Sorting through a Dataset with 1 method Pin
Gareth H24-Oct-06 4:30
Gareth H24-Oct-06 4:30 
GeneralRe: Sorting through a Dataset with 1 method Pin
Not Active24-Oct-06 4:51
mentorNot Active24-Oct-06 4:51 

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.