Click here to Skip to main content
15,897,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: i want to add Button and imge in DataGrid VS.net2003 Pin
Taylor Kobani6-Feb-07 5:32
Taylor Kobani6-Feb-07 5:32 
GeneralRe: i want to add Button and imge in DataGrid VS.net2003 Pin
Ahmed El-Badry6-Feb-07 23:38
Ahmed El-Badry6-Feb-07 23:38 
Questiontyped datasets and parent/child relationships Pin
steve_rm6-Feb-07 0:27
steve_rm6-Feb-07 0:27 
AnswerRe: typed datasets and parent/child relationships Pin
Andi Fandrich6-Feb-07 2:50
professionalAndi Fandrich6-Feb-07 2:50 
QuestionRe: typed datasets and parent/child relationships Pin
steve_rm6-Feb-07 4:30
steve_rm6-Feb-07 4:30 
AnswerRe: typed datasets and parent/child relationships Pin
Andi Fandrich6-Feb-07 5:20
professionalAndi Fandrich6-Feb-07 5:20 
QuestionRe: typed datasets and parent/child relationships Pin
steve_rm6-Feb-07 7:36
steve_rm6-Feb-07 7:36 
AnswerRe: typed datasets and parent/child relationships Pin
Andi Fandrich6-Feb-07 21:06
professionalAndi Fandrich6-Feb-07 21:06 
Hi Steve,

I see that you are working with two grids, one for the parent data and one for the children. I just used one grid to display them both. A thing which the UltraGrid does quite well.
I just dug out my old project, where I used the Infragistics grid (Version 3).
The code that works (.NET 1.1) creates a New DataSet in which two DataTables are created and filled via DataAdapter.Fill and following DataSet.Tables.Add(). The DataRelation is added just like in your code and the DataSet is bound to the grid's DataSource property. All other properties of the grid with their default values.

In the code you posted it seems that you are setting UltraGrid1's datasource twice:
Me.UltraGrid1.DataMember = "Assembly"<br />
Me.UltraGrid1.DataSource = Me.DsCustomerEquipment1

and
Me.UltraGrid1.SetDataBinding(Me.DsCustomerEquipment1, "Assembly")

Could this be the problem? Otherwise I don't have any more ideas Confused | :confused:

Andi
QuestionRe: typed datasets and parent/child relationships Pin
steve_rm7-Feb-07 5:50
steve_rm7-Feb-07 5:50 
AnswerRe: typed datasets and parent/child relationships Pin
Andi Fandrich7-Feb-07 7:09
professionalAndi Fandrich7-Feb-07 7:09 
QuestionDynamicly set different property of object Pin
Philippe Delodder6-Feb-07 0:02
Philippe Delodder6-Feb-07 0:02 
AnswerRe: Dynamicly set different property of object Pin
nlarson116-Feb-07 3:56
nlarson116-Feb-07 3:56 
GeneralRe: Dynamicly set different property of object Pin
Philippe Delodder6-Feb-07 4:07
Philippe Delodder6-Feb-07 4:07 
GeneralRe: Dynamicly set different property of object Pin
nlarson116-Feb-07 4:20
nlarson116-Feb-07 4:20 
GeneralRe: Dynamicly set different property of object Pin
Philippe Delodder6-Feb-07 22:25
Philippe Delodder6-Feb-07 22:25 
QuestionSearching text in a datagridview as the user key in a textbox Pin
Sandy C5-Feb-07 23:02
Sandy C5-Feb-07 23:02 
AnswerRe: Searching text in a datagridview as the user key in a textbox Pin
DA_Loring6-Feb-07 22:48
DA_Loring6-Feb-07 22:48 
QuestionClosing the form when the user clicks outside the form Pin
Sandy C5-Feb-07 22:48
Sandy C5-Feb-07 22:48 
AnswerRe: Closing the form when the user clicks outside the form Pin
nlarson116-Feb-07 4:01
nlarson116-Feb-07 4:01 
QuestionWhy I only can deploy 1 time? Pin
crazyteh5-Feb-07 22:04
crazyteh5-Feb-07 22:04 
AnswerRe: Why I only can deploy 1 time? Pin
Christian Graus5-Feb-07 22:44
protectorChristian Graus5-Feb-07 22:44 
GeneralRe: Why I only can deploy 1 time? Pin
crazyteh7-Feb-07 16:04
crazyteh7-Feb-07 16:04 
Questionnewbie on DB2 Pin
sal215-Feb-07 21:53
sal215-Feb-07 21:53 
Questionsql server 2000 in window service Pin
harsh_c5-Feb-07 20:36
professionalharsh_c5-Feb-07 20:36 
AnswerRe: sql server 2000 in window service Pin
Colin Angus Mackay5-Feb-07 22:20
Colin Angus Mackay5-Feb-07 22:20 

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.