Click here to Skip to main content
15,903,203 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to gain access to a network share? Pin
Heath Stewart27-Feb-04 3:23
protectorHeath Stewart27-Feb-04 3:23 
QuestionHow to start a process within the current command window? Pin
Throckmorton26-Feb-04 13:59
Throckmorton26-Feb-04 13:59 
AnswerRe: How to start a process within the current command window? Pin
Throckmorton26-Feb-04 14:08
Throckmorton26-Feb-04 14:08 
QuestionDataGrid - navigation to parent table? Pin
Radoslav Bielik26-Feb-04 10:48
Radoslav Bielik26-Feb-04 10:48 
AnswerRe: DataGrid - navigation to parent table? Pin
Heath Stewart26-Feb-04 12:39
protectorHeath Stewart26-Feb-04 12:39 
GeneralRe: DataGrid - navigation to parent table? Pin
Radoslav Bielik26-Feb-04 12:45
Radoslav Bielik26-Feb-04 12:45 
GeneralRe: DataGrid - navigation to parent table? Pin
Radoslav Bielik27-Feb-04 0:06
Radoslav Bielik27-Feb-04 0:06 
GeneralRe: DataGrid - navigation to parent table? Pin
Heath Stewart27-Feb-04 2:56
protectorHeath Stewart27-Feb-04 2:56 
Radoslav Bielik wrote:
1. Regardless of the value of ParentRowLabelStyle property, the ParentRow always displays the table name as well as all columns. What am I doing wrong?

Try setting DataGrid.ParentRowsVisible to false.

Radoslav Bielik wrote:
2. When users click the "+" button in the parent table, the name of the relation appears and once they click on it, they are navigated to the chlid table. Is it possible to display something else in place of the relation name (something more user friendly) or not?

Why don't you give the relationship a better name? That'd be the easiest way. Otherwise, changing this will be either impossible (without messy reflection) or difficult, since those types of things are wrapped up into private methods - perhaps even nested classes - of the DataGrid control. Learn to read Intermediate Language (IL) - the language to which all .NET languages compile - and use ildasm.exe that comes with the .NET Framework SDK to see what's going on inside it if you want to go down this route. The first suggestion would be far easier, though.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: DataGrid - navigation to parent table? Pin
Radoslav Bielik27-Feb-04 3:47
Radoslav Bielik27-Feb-04 3:47 
GeneralTraceListener.Close not called when added through config file... Pin
Ryan Cromwell26-Feb-04 10:24
Ryan Cromwell26-Feb-04 10:24 
GeneralRe: TraceListener.Close not called when added through config file... Pin
John Fisher26-Feb-04 10:34
John Fisher26-Feb-04 10:34 
GeneralRe: TraceListener.Close not called when added through config file... Pin
Ryan Cromwell26-Feb-04 10:39
Ryan Cromwell26-Feb-04 10:39 
GeneralRe: TraceListener.Close not called when added through config file... Pin
John Fisher26-Feb-04 10:42
John Fisher26-Feb-04 10:42 
GeneralRe: TraceListener.Close not called when added through config file... Pin
Ryan Cromwell26-Feb-04 10:46
Ryan Cromwell26-Feb-04 10:46 
GeneralRe: TraceListener.Close not called when added through config file... Pin
Ryan Cromwell26-Feb-04 10:48
Ryan Cromwell26-Feb-04 10:48 
GeneralRe: TraceListener.Close not called when added through config file... Pin
Ryan Cromwell26-Feb-04 11:02
Ryan Cromwell26-Feb-04 11:02 
GeneralRe: TraceListener.Close not called when added through config file... Pin
John Fisher26-Feb-04 11:09
John Fisher26-Feb-04 11:09 
GeneralQuestion on resizing a non-rectangular form Pin
Flack26-Feb-04 9:47
Flack26-Feb-04 9:47 
GeneralRe: Question on resizing a non-rectangular form Pin
John Fisher26-Feb-04 10:37
John Fisher26-Feb-04 10:37 
GeneralPanel Size to small Pin
Member 90966226-Feb-04 8:50
Member 90966226-Feb-04 8:50 
GeneralRe: Panel Size to small Pin
John Fisher26-Feb-04 10:41
John Fisher26-Feb-04 10:41 
QuestionMeasuring text - a bug in .NET? Pin
Judah Gabriel Himango26-Feb-04 8:42
sponsorJudah Gabriel Himango26-Feb-04 8:42 
AnswerRe: Measuring text - a bug in .NET? Pin
Dave Kreskowiak26-Feb-04 16:58
mveDave Kreskowiak26-Feb-04 16:58 
GeneralRe: Measuring text - a bug in .NET? Pin
Judah Gabriel Himango26-Feb-04 19:08
sponsorJudah Gabriel Himango26-Feb-04 19:08 
GeneralRe: Measuring text - a bug in .NET? Pin
Dave Kreskowiak27-Feb-04 3:54
mveDave Kreskowiak27-Feb-04 3:54 

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.