Sorry for the long paragraph. I feel like theres no reason for a table to map the relationship between the two tables, because all of the cakes are in each event, not just some of them, so why would...
Thanks for the reply! That's exactly what I want to do, the problem is the only way I know of to have the database automatically load a collection of objects from the database to one of my entity...
hey, im using linq to sql, and in my database i have an events table, then i have a cakes table, every event uses ALL of the cakes in the cakes table. There is no explicit foreign key relationship,...
Hey, I'm doing this project for class, and I'm really stuck on how to represent this one relationship in the database. I'm making a party planner application, and there are several types of cakes, so...
I got it to work finally sheesh :/ In the main form's constructor i looped through all of the tables and set a delegate in each table to reference the main form's userControl_Click method, and then...
I get what you're saying, but say I wanted to change the right side of the panel i have on the main form when a table is clicked. How do I get this click event to work and at the same time be able to...
lol i do believe you, not trying to question your knowledge, just trying to understand it :D i need it beat into me. Maybe I'm going about this wrong. Let me elaborate what I'm doing. I have 14 pool...
if i do it that way, I'm only going to be able to call a method within the user control right ? the whole point of the control is to notify the main form when it's clicked, so i can manipulate the...
i was hoping there was an easier way =/ Where do I set the event handler on the main form? It's viewed as one control from the main form, so I can only set the click event for the control as a whole.
I created a custom user control in windows forms which simply has a background image and a label. When I add the custom control to one of my forms and set the click event, the event only...
Thanks for the advice, I guess there are many ways to go about it. I'm leaning towards LINQ to SQL, and every time a pool table is updated or changed I have to update the database. I just have to...
Hey, I am new to C# and object-oriented programming. Object-oriented programming involves creating classes that are used to represent objects in memory. However, in real-world applications you are...