Click here to Skip to main content
16,006,605 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralSuspendLayout() doen't work on richTextBox Pin
eranas3-Sep-03 21:07
eranas3-Sep-03 21:07 
GeneralRe: SuspendLayout() doen't work on richTextBox Pin
leppie7-Sep-03 4:14
leppie7-Sep-03 4:14 
GeneralExposing properties (COM interop) Pin
Elbie2-Sep-03 5:31
Elbie2-Sep-03 5:31 
GeneralOverriding Paint message in TextEditBase or RichEditBox Pin
NormDroid2-Sep-03 4:46
professionalNormDroid2-Sep-03 4:46 
GeneralIPicture to System.Drawing.Image Pin
Corinna John2-Sep-03 3:37
Corinna John2-Sep-03 3:37 
GeneralTimezones and Date formatting Pin
AJB...1-Sep-03 10:05
AJB...1-Sep-03 10:05 
GeneralRe: Custom Collection based on ... Pin
dog_spawn4-Sep-03 16:58
dog_spawn4-Sep-03 16:58 
General.net DataSet Relations Lost.... Pin
mgaerber27-Aug-03 4:44
mgaerber27-Aug-03 4:44 
Hi there,

I set up a DataSet (C#/.net) with a few tables, one table containing the DataSet Primary Key and the other tables containing only Foreign Key refering to the PK.
Now I am trying to populate the DataSet manually, reading from a Binary File:

FileStream fs = new FileStream("C:\\File", FileMode.Open);
Byte[] abyBuffer = new Byte[fs.Length];
BinaryReader r = new BinaryReader(fs);

db3plus.headerRow hrow = db3plus1.header.NewheaderRow();
hrow.version = r.ReadByte();
db3plus1.header.Rows.Add(hrow);

db3plus.lastupdateRow lrow = db3plus1.lastupdate.NewlastupdateRow();
lrow.byte1 = r.ReadByte();
lrow.byte2 = r.ReadByte();
db3plus1.lastupdate.Rows.Add(lrow);

The thing is, the Relation I set up between these two tables seems to be lost, since the second entry won't be inserted in the same DataSet as the first entry.
Leaving me with the second Table not having a Relation (Foreign Key) to the Parent-Table

Any help?????
Generallost? Pin
dog_spawn4-Sep-03 17:02
dog_spawn4-Sep-03 17:02 
GeneralRe: lost? Pin
mgaerber9-Sep-03 20:12
mgaerber9-Sep-03 20:12 
GeneralVARIANT* in COM Interop Pin
Elbie27-Aug-03 0:48
Elbie27-Aug-03 0:48 
GeneralRe: VARIANT* in COM Interop Pin
Elbie27-Aug-03 5:08
Elbie27-Aug-03 5:08 
GeneralRe: VARIANT* in COM Interop Pin
igor19603-Sep-03 10:28
igor19603-Sep-03 10:28 
General.NET component in MFC applicaiton Pin
Member 45183026-Aug-03 20:23
Member 45183026-Aug-03 20:23 
GeneralRe: .NET component in MFC applicaiton Pin
J. Dunlap26-Aug-03 21:23
J. Dunlap26-Aug-03 21:23 
GeneralRe: .NET component in MFC applicaiton Pin
Member 45183026-Aug-03 21:47
Member 45183026-Aug-03 21:47 
GeneralRe: .NET component in MFC applicaiton Pin
J. Dunlap26-Aug-03 21:54
J. Dunlap26-Aug-03 21:54 
GeneralRe: .NET component in MFC applicaiton Pin
Jerry Dennany3-Sep-03 14:45
Jerry Dennany3-Sep-03 14:45 
GeneralNumericUpDown Problem Pin
Gomac26-Aug-03 13:55
Gomac26-Aug-03 13:55 
GeneralRe: NumericUpDown Problem Pin
Gomac28-Aug-03 3:12
Gomac28-Aug-03 3:12 
General"The WSE must be installed to enable this feature" Pin
adaoja26-Aug-03 3:44
adaoja26-Aug-03 3:44 
QuestionHow to use tcpTrace? Pin
Anonymous25-Aug-03 8:28
Anonymous25-Aug-03 8:28 
GeneralC#, winforms developer--Program Trading Pin
Patrick Burke25-Aug-03 5:18
Patrick Burke25-Aug-03 5:18 
GeneralEvent Logging from Web Services and WebForms Pin
Danny Rodriguez23-Aug-03 13:17
Danny Rodriguez23-Aug-03 13:17 
QuestionAny win32 I/O experts with thoughts about serial I/O bug? Pin
Another_Kevin22-Aug-03 18:50
Another_Kevin22-Aug-03 18:50 

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.