Click here to Skip to main content
15,888,320 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I make my GUI app launch smoothly? Pin
Pete O'Hanlon26-Mar-08 23:26
mvePete O'Hanlon26-Mar-08 23:26 
GeneralRe: How can I make my GUI app launch smoothly? Pin
Gareth H27-Mar-08 0:01
Gareth H27-Mar-08 0:01 
GeneralReceive Cursor X, Y Positions Pin
M Riaz Bashir26-Mar-08 21:32
M Riaz Bashir26-Mar-08 21:32 
GeneralRe: Receive Cursor X, Y Positions Pin
Christian Graus26-Mar-08 21:59
protectorChristian Graus26-Mar-08 21:59 
GeneralRe: Receive Cursor X, Y Positions Pin
MarkB77726-Mar-08 23:18
MarkB77726-Mar-08 23:18 
GeneralRe: Receive Cursor X, Y Positions Pin
M Riaz Bashir27-Mar-08 19:36
M Riaz Bashir27-Mar-08 19:36 
GeneralInfinite level hierarchical data grid code using C# with edit ,update option Pin
pp831926-Mar-08 20:42
pp831926-Mar-08 20:42 
GeneralRe: Infinite level hierarchical data grid code using C# with edit ,update option Pin
Eduard Keilholz26-Mar-08 23:00
Eduard Keilholz26-Mar-08 23:00 
There are several solutions to solve this problem...
You can load the table at once and populate your interface manually in code
<br />
function Populate()<br />
{<br />
// Load table<br />
// populate all parent rows<br />
PopulateChildren(Table, ID)<br />
}<br />
<br />
function PopulateChildren(Table, ParentID)<br />
{<br />
// Filter for parent id's (which gives you the children)<br />
// Populate child rows<br />
PopulateChildren(Table, ID)<br />
}<br />


However, the solution of which I think is neater, is create a dataset what several tables and create DataRelations between them to create the parent-child hierarchie. This way you can fetch child and parent rows by using a certain datarow's GetChildRows() and GetParentRow() method... However, since the hierarchie is infinite, you may have difficulties creating that dataset... When creating a dataset I always user constants to store the name of DataRelations etc in, having such a dynamic dataset makes that impossible... Think wise Wink | ;)

.: I love it when a plan comes together :.
http://www.zonderpunt.nl

GeneralRe: Infinite level hierarchical data grid code using C# with edit ,update option Pin
pp831927-Mar-08 20:18
pp831927-Mar-08 20:18 
GeneralThread safety Pin
N a v a n e e t h26-Mar-08 20:04
N a v a n e e t h26-Mar-08 20:04 
GeneralRe: Thread safety Pin
Luc Pattyn26-Mar-08 20:55
sitebuilderLuc Pattyn26-Mar-08 20:55 
GeneralRe: Thread safety Pin
N a v a n e e t h26-Mar-08 21:38
N a v a n e e t h26-Mar-08 21:38 
GeneralRe: Thread safety Pin
Luc Pattyn26-Mar-08 22:09
sitebuilderLuc Pattyn26-Mar-08 22:09 
GeneralRe: Thread safety Pin
N a v a n e e t h26-Mar-08 22:57
N a v a n e e t h26-Mar-08 22:57 
GeneralRe: Thread safety Pin
Luc Pattyn26-Mar-08 23:16
sitebuilderLuc Pattyn26-Mar-08 23:16 
GeneralRe: Thread safety Pin
N a v a n e e t h27-Mar-08 1:00
N a v a n e e t h27-Mar-08 1:00 
QuestionCustomizing a combo box event Pin
steve_rm26-Mar-08 19:48
steve_rm26-Mar-08 19:48 
GeneralRe: Customizing a combo box event Pin
leppie26-Mar-08 23:32
leppie26-Mar-08 23:32 
QuestionHow do i plot a point in a slanting line Pin
Laddie26-Mar-08 19:25
Laddie26-Mar-08 19:25 
AnswerRe: How do i plot a point in a slanting line Pin
Christian Graus26-Mar-08 19:36
protectorChristian Graus26-Mar-08 19:36 
GeneralRe: How do i plot a point in a slanting line Pin
Laddie26-Mar-08 19:46
Laddie26-Mar-08 19:46 
GeneralRe: How do i plot a point in a slanting line Pin
Christian Graus26-Mar-08 19:56
protectorChristian Graus26-Mar-08 19:56 
GeneralRe: How do i plot a point in a slanting line Pin
Laddie26-Mar-08 20:26
Laddie26-Mar-08 20:26 
GeneralRe: How do i plot a point in a slanting line Pin
Laddie26-Mar-08 20:57
Laddie26-Mar-08 20:57 
GeneralUpdating content only ( not . exe) on local drive Pin
m1n1me26-Mar-08 17:55
m1n1me26-Mar-08 17:55 

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.