Click here to Skip to main content
15,887,027 members
Home / Discussions / Database
   

Database

 
GeneralRe: Problem : Retrive Data with ref table Pin
Ahmed R El Bohoty26-Oct-08 4:21
Ahmed R El Bohoty26-Oct-08 4:21 
GeneralRe: Problem : Retrive Data with ref table Pin
Wendelius26-Oct-08 5:28
mentorWendelius26-Oct-08 5:28 
GeneralRe: Problem : Retrive Data with ref table Pin
Ahmed R El Bohoty26-Oct-08 8:15
Ahmed R El Bohoty26-Oct-08 8:15 
GeneralRe: Problem : Retrive Data with ref table Pin
Wendelius26-Oct-08 8:23
mentorWendelius26-Oct-08 8:23 
GeneralRe: Problem : Retrive Data with ref table Pin
Ahmed R El Bohoty26-Oct-08 8:25
Ahmed R El Bohoty26-Oct-08 8:25 
GeneralRe: Problem : Retrive Data with ref table Pin
Wendelius26-Oct-08 8:33
mentorWendelius26-Oct-08 8:33 
GeneralRe: Problem : Retrive Data with ref table Pin
Ahmed R El Bohoty26-Oct-08 8:47
Ahmed R El Bohoty26-Oct-08 8:47 
GeneralRe: Problem : Retrive Data with ref table Pin
Wendelius26-Oct-08 10:59
mentorWendelius26-Oct-08 10:59 
Basically there is nothing wrong if you keep the data in two separate classes like in the first post. The problem is mainly in DataGrid.

Perhaps you could use more powerful DataGridView instead. With that control you could create a combo box column for category so you wouldn't have problems with empty foreign key properties. This way you could have a combobox for user to select what category he wants to use for a person and if category is selected, it will be shown.

The need to optimize rises from a bad design.

My articles[^]

GeneralRe: Problem : Retrive Data with ref table Pin
Ahmed R El Bohoty26-Oct-08 13:25
Ahmed R El Bohoty26-Oct-08 13:25 
GeneralRe: Problem : Retrive Data with ref table Pin
Wendelius27-Oct-08 9:10
mentorWendelius27-Oct-08 9:10 
AnswerRe: Problem : Retrive Data with ref table Pin
Rami Said Abd Alhalim27-Oct-08 2:20
Rami Said Abd Alhalim27-Oct-08 2:20 
GeneralRe: Problem : Retrive Data with ref table Pin
Ahmed R El Bohoty27-Oct-08 2:23
Ahmed R El Bohoty27-Oct-08 2:23 
GeneralRe: Problem : Retrive Data with ref table Pin
Rami Said Abd Alhalim27-Oct-08 3:13
Rami Said Abd Alhalim27-Oct-08 3:13 
GeneralRe: Problem : Retrive Data with ref table Pin
Ahmed R El Bohoty27-Oct-08 3:19
Ahmed R El Bohoty27-Oct-08 3:19 
QuestionMoving Data Between Tables Pin
Meysam Mahfouzi26-Oct-08 0:49
Meysam Mahfouzi26-Oct-08 0:49 
AnswerRe: Moving Data Between Tables Pin
Wendelius26-Oct-08 1:29
mentorWendelius26-Oct-08 1:29 
GeneralRe: Moving Data Between Tables Pin
Meysam Mahfouzi26-Oct-08 2:34
Meysam Mahfouzi26-Oct-08 2:34 
GeneralRe: Moving Data Between Tables Pin
Wendelius26-Oct-08 2:39
mentorWendelius26-Oct-08 2:39 
AnswerRe: Moving Data Between Tables Pin
PIEBALDconsult29-Oct-08 5:38
mvePIEBALDconsult29-Oct-08 5:38 
GeneralRe: Moving Data Between Tables Pin
Meysam Mahfouzi29-Oct-08 10:20
Meysam Mahfouzi29-Oct-08 10:20 
GeneralRe: Moving Data Between Tables Pin
PIEBALDconsult29-Oct-08 11:39
mvePIEBALDconsult29-Oct-08 11:39 
GeneralRe: Moving Data Between Tables Pin
Meysam Mahfouzi29-Oct-08 17:21
Meysam Mahfouzi29-Oct-08 17:21 
GeneralRe: Moving Data Between Tables Pin
PIEBALDconsult30-Oct-08 4:28
mvePIEBALDconsult30-Oct-08 4:28 
GeneralRe: Moving Data Between Tables Pin
Meysam Mahfouzi30-Oct-08 8:12
Meysam Mahfouzi30-Oct-08 8:12 
GeneralRe: Moving Data Between Tables Pin
PIEBALDconsult30-Oct-08 10:26
mvePIEBALDconsult30-Oct-08 10:26 

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.