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

C#

 
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 
GeneralRe: DataGrid & Relations Pin
Heath Stewart25-Nov-03 3:35
protectorHeath Stewart25-Nov-03 3:35 
GeneralRe: DataGrid & Relations Pin
mgaerber25-Nov-03 20:34
mgaerber25-Nov-03 20:34 
GeneralRe: DataGrid & Relations Pin
Heath Stewart26-Nov-03 2:23
protectorHeath Stewart26-Nov-03 2:23 
mgaerber wrote:
I am new to C# and not quite into the internals yet...

String manipulation is tasking in practically any language. Keep what I said in mind when doing anything with strings or other types of buffers.

mgaerber wrote:
I don't really know if I explained my issue right: The thing is I can't define some Binding where, when selecting some Item in the Child-View, the Parent-View gets updated:

You explained it fine, and I gave you one possibility as to what's wrong. The BindingContext contains data- or property-bindings for the control. If you have data-bound your child table to a control, a BindingContext is useful so long as you give it the same DataSource and DataMember that are specified in the control.

What you're doing is essentially right - you're getting a value and filtering the DataView of the parent DataGrid. You really need to debug your code, though - step through it and see if you're getting a value from your DataRowView before applying it to your filter. Stepping through your code and examining the Auto or Locals window should give you some idea of what you can use to get the values you need. I'm sorry I don't have more time to write and test this myself, but learning is the most important part and debugging certainly fosters that.

...but you are on the right track.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: DataGrid & 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 
GeneralRe: Property as an array? Pin
LenHodder24-Nov-03 16:10
LenHodder24-Nov-03 16:10 
GeneralRe: Property as an array? Pin
Heath Stewart24-Nov-03 16:14
protectorHeath Stewart24-Nov-03 16:14 
QuestionHELP X_x;;; I wanna make a simple program do simple task but... how? Pin
C# n00b24-Nov-03 12:42
C# n00b24-Nov-03 12:42 

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.