Click here to Skip to main content
15,895,606 members
Home / Discussions / C#
   

C#

 
GeneralRe: datagrid update failure Pin
Sascha Andres17-Aug-03 23:37
Sascha Andres17-Aug-03 23:37 
GeneralRe: datagrid update failure Pin
dorianr18-Aug-03 18:42
dorianr18-Aug-03 18:42 
GeneralRe: datagrid update failure Pin
Ista18-Aug-03 17:02
Ista18-Aug-03 17:02 
GeneralRe: datagrid update failure Pin
dorianr18-Aug-03 18:45
dorianr18-Aug-03 18:45 
GeneralRe: datagrid update failure Pin
Ista19-Aug-03 3:49
Ista19-Aug-03 3:49 
QuestionCan someone plz give me code to list ALL NETWORK PCS AND IP ADDRESSES.. Pin
IrishSonic17-Aug-03 14:21
IrishSonic17-Aug-03 14:21 
Generala question about Thread v.s Socket programming Pin
areapro17-Aug-03 5:00
areapro17-Aug-03 5:00 
GeneralHierarchical recordset/Dataset Pin
Nickle17-Aug-03 4:25
Nickle17-Aug-03 4:25 
Confused | :confused: I'm writing a WebService that outputs a DataSet and need to set a DataRelation for the hierarchical recordset. I've searched and found plenty of parent child table examples, but my table is self referencing by ParentID to RecID. Some ParentIDs are null for top level items. Any ideas?

I already tried cloning the table as below to create the relationship, that bombed...

System.Data.DataTable dtClone = ds.Tables[0].Copy();
dtClone.TableName = "Child";
ds.Tables.Add(dtClone);
string[] strParent = {"RecID"};
string[] strChild = {"ParentID"};
relParChld = new DataRelation("S","Table","Child",strParent,strChild, true);
// Add the relation to the DataSet.
ds.Relations.Add(relParChld);


RecID ParentID
T6975 NULL
T6977 T6975
S34207 T6977
S34209 T6977

GeneralCrosscorrelation and Autocorrelation Pin
angularis1717-Aug-03 2:49
angularis1717-Aug-03 2:49 
Generalcontrol windows 98 Pin
TRANSPARENT16-Aug-03 17:17
TRANSPARENT16-Aug-03 17:17 
Generalexcel format Pin
djkno316-Aug-03 10:18
djkno316-Aug-03 10:18 
GeneralRe: excel format Pin
Ista16-Aug-03 12:09
Ista16-Aug-03 12:09 
GeneralRe: excel format Pin
djkno316-Aug-03 12:13
djkno316-Aug-03 12:13 
GeneralRe: excel format Pin
Ista16-Aug-03 12:15
Ista16-Aug-03 12:15 
GeneralRe: excel format Pin
djkno316-Aug-03 12:33
djkno316-Aug-03 12:33 
GeneralRe: excel format Pin
Stephane Rodriguez.17-Aug-03 5:31
Stephane Rodriguez.17-Aug-03 5:31 
GeneralC# applet and parameter problem Pin
aw1ay16-Aug-03 5:54
aw1ay16-Aug-03 5:54 
GeneralRe: C# applet and parameter problem Pin
Sergiu7-Nov-03 20:37
Sergiu7-Nov-03 20:37 
General2 ListBox operations Pin
Hovik Melkomian16-Aug-03 5:24
Hovik Melkomian16-Aug-03 5:24 
GeneralRe: 2 ListBox operations Pin
Ista16-Aug-03 12:13
Ista16-Aug-03 12:13 
GeneralWindows Service And Custom DLL Pin
cacadekick16-Aug-03 4:43
cacadekick16-Aug-03 4:43 
GeneralRe: Windows Service And Custom DLL Pin
Burt Harris16-Aug-03 15:38
Burt Harris16-Aug-03 15:38 
GeneralRe: Windows Service And Custom DLL Pin
cacadekick18-Aug-03 5:30
cacadekick18-Aug-03 5:30 
Generaluse pointers in c# Pin
Ista16-Aug-03 4:15
Ista16-Aug-03 4:15 
GeneralRe: use pointers in c# Pin
leppie16-Aug-03 4:34
leppie16-Aug-03 4:34 

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.