Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
QuestionHow to unblock..... Pin
Søren Christensen25-Nov-03 4:28
Søren Christensen25-Nov-03 4:28 
AnswerRe: How to unblock..... Pin
obelisk2925-Nov-03 6:05
obelisk2925-Nov-03 6:05 
GeneralRe: How to unblock..... Pin
Søren Christensen25-Nov-03 10:59
Søren Christensen25-Nov-03 10:59 
GeneralSerialization\Remoting problem Pin
rumickyd25-Nov-03 3:45
rumickyd25-Nov-03 3:45 
GeneralRe: Serialization\Remoting problem Pin
obelisk2925-Nov-03 6:08
obelisk2925-Nov-03 6:08 
GeneralRe: Serialization\Remoting problem Pin
rumickyd25-Nov-03 6:26
rumickyd25-Nov-03 6:26 
GeneralRe: Serialization\Remoting problem Pin
obelisk2925-Nov-03 6:34
obelisk2925-Nov-03 6:34 
GeneralDataGrid & Relations Pin
mgaerber25-Nov-03 2:36
mgaerber25-Nov-03 2:36 
Hi,

can anybody tell me if what im doing here is correct?

Having 2 DataGrid Controls, one showing data from "ParentTable", the other showing data from "ChildTable", I am trying to synchronize them in a way that when I select a Row in the Child- DataGrid, the Parent- DataGrid should be updated too (dv2 is the DataView of the Parent-DataTable):

private void dataGrid1_CurrentCellChanged(object sender, System.EventArgs e)<br />
{<br />
  CurrencyManager cm = (CurrencyManager)<br />
   dataGrid1.BindingContext[dataGrid1.DataSource ,dataGrid1.DataMember];<br />
<br />
   DataRowView drv = (DataRowView)cm.Current; <br />

// Set the RowFilter of the ParentTable-View to reflect changes in Child
<br />
   dv2.RowFilter = "VERNR = '"+drv["VERNR"]+"'";   <br />
<br />
}

GeneralRe: DataGrid &amp; Relations Pin
Heath Stewart25-Nov-03 3:35
protectorHeath Stewart25-Nov-03 3:35 
GeneralRe: DataGrid &amp; Relations Pin
mgaerber25-Nov-03 20:34
mgaerber25-Nov-03 20:34 
GeneralRe: DataGrid &amp; Relations Pin
Heath Stewart26-Nov-03 2:23
protectorHeath Stewart26-Nov-03 2:23 
GeneralRe: DataGrid &amp; Relations Pin
Anonymous26-Nov-03 22:15
Anonymous26-Nov-03 22:15 
GeneralThe csc.exe compiler - member variables Pin
tom7624-Nov-03 23:54
tom7624-Nov-03 23:54 
GeneralRe: I've changed my code and it works - this is awful! Pin
tom7625-Nov-03 0:33
tom7625-Nov-03 0:33 
GeneralAh, Properties! Pin
tom7625-Nov-03 0:54
tom7625-Nov-03 0:54 
GeneralRe: Ah, Properties! Pin
Heath Stewart25-Nov-03 3:16
protectorHeath Stewart25-Nov-03 3:16 
GeneralRe: Ah, Properties! Pin
tom7625-Nov-03 4:13
tom7625-Nov-03 4:13 
GeneralRe: Ah, Properties! Pin
leppie25-Nov-03 7:23
leppie25-Nov-03 7:23 
GeneralC# hook API Pin
Anonymous24-Nov-03 22:00
Anonymous24-Nov-03 22:00 
GeneralRe: C# hook API Pin
AJ12324-Nov-03 23:29
AJ12324-Nov-03 23:29 
GeneralWindows XP Icons Pin
David M. Kean24-Nov-03 18:42
David M. Kean24-Nov-03 18:42 
GeneralRe: Windows XP Icons Pin
John R. Shaw24-Nov-03 19:39
John R. Shaw24-Nov-03 19:39 
GeneralRe: Windows XP Icons Pin
Heath Stewart25-Nov-03 3:05
protectorHeath Stewart25-Nov-03 3:05 
QuestionProperty as an array? Pin
LenHodder24-Nov-03 15:37
LenHodder24-Nov-03 15:37 
AnswerRe: Property as an array? Pin
Heath Stewart24-Nov-03 15:56
protectorHeath Stewart24-Nov-03 15:56 

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.