Click here to Skip to main content
15,889,595 members
Home / Discussions / C#
   

C#

 
QuestionA question no one has asked ??? Pin
LongRange.Shooter22-Apr-05 5:08
LongRange.Shooter22-Apr-05 5:08 
AnswerRe: A question no one has asked ??? Pin
Dave Kreskowiak22-Apr-05 5:36
mveDave Kreskowiak22-Apr-05 5:36 
GeneralRe: A question no one has asked ??? Pin
LongRange.Shooter25-Apr-05 8:13
LongRange.Shooter25-Apr-05 8:13 
GeneralTreeView--Treenode with a Checkbox bound to database Pin
billoo22-Apr-05 4:14
billoo22-Apr-05 4:14 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
John Fisher22-Apr-05 7:41
John Fisher22-Apr-05 7:41 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
billoo22-Apr-05 8:24
billoo22-Apr-05 8:24 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
John Fisher22-Apr-05 8:37
John Fisher22-Apr-05 8:37 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
billoo22-Apr-05 9:49
billoo22-Apr-05 9:49 
I am using a three state check box. When a user clicks on a node, I recursively set the CheckState property of the children nodes and parent nodes appropriately. My second option (pressing the save button and committing changes to the DB once) is more suited here as that will take only one round trip call to the database.

John, could you demonstrate by some example how one would update the local data table and the CheckState value in the nodes?

In order in order to successfully record all the changes in the nodes to the data table, I'll loop through all the nodes and copy the CheckState value to the data table. Basically, I have to traverse the entire tree, starting with the root. Is that how you are envisioning?

BTW, I am setting the tag property as I am constructing the nodes, as you suggested.

Help appreciated.

Thanks again
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
John Fisher22-Apr-05 10:30
John Fisher22-Apr-05 10:30 
GeneralSimple Mime / mail messages Pin
ColinBashBash22-Apr-05 4:14
ColinBashBash22-Apr-05 4:14 
GeneralRe: Simple Mime / mail messages Pin
ColinBashBash25-Apr-05 4:00
ColinBashBash25-Apr-05 4:00 
GeneralData Manipulation Pin
Illegal Operation22-Apr-05 3:51
Illegal Operation22-Apr-05 3:51 
GeneralRe: Data Manipulation Pin
turbochimp22-Apr-05 4:11
turbochimp22-Apr-05 4:11 
QuestionHow to set Timeout in a asynchronus WebRequest Pin
User-37793622-Apr-05 3:16
User-37793622-Apr-05 3:16 
GeneralWindows Service dont appear in Service Panel Pin
Adnan Siddiqi22-Apr-05 2:47
Adnan Siddiqi22-Apr-05 2:47 
GeneralRe: Windows Service dont appear in Service Panel Pin
John Fisher22-Apr-05 7:33
John Fisher22-Apr-05 7:33 
GeneralDataset.GetXml() problem Pin
padvit22-Apr-05 2:41
padvit22-Apr-05 2:41 
GeneralOpen a Word Document Pin
fatihsen22-Apr-05 1:52
fatihsen22-Apr-05 1:52 
GeneralRe: Open a Word Document Pin
mav.northwind22-Apr-05 2:11
mav.northwind22-Apr-05 2:11 
GeneralRe: Open a Word Document Pin
fatihsen22-Apr-05 2:21
fatihsen22-Apr-05 2:21 
GeneralRe: Open a Word Document Pin
mav.northwind22-Apr-05 2:28
mav.northwind22-Apr-05 2:28 
GeneralRe: Open a Word Document Pin
fatihsen22-Apr-05 2:38
fatihsen22-Apr-05 2:38 
GeneralRe: Open a Word Document Pin
fatihsen22-Apr-05 3:36
fatihsen22-Apr-05 3:36 
QuestionWhy when I change the ReportSource of a report, the report not change? Pin
Ana-Gabriela Clem22-Apr-05 1:39
Ana-Gabriela Clem22-Apr-05 1:39 
AnswerRe: Why when I change the ReportSource of a report, the report not change? Pin
Yulianto.22-Apr-05 19:31
Yulianto.22-Apr-05 19:31 

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.