Click here to Skip to main content
15,910,277 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to hide c# application from vista task manager process list? Pin
Ashfield29-Sep-08 21:17
Ashfield29-Sep-08 21:17 
QuestionAttaching an html file to a mail message Pin
DJ24529-Sep-08 20:44
DJ24529-Sep-08 20:44 
AnswerRe: Attaching an html file to a mail message Pin
Giorgi Dalakishvili29-Sep-08 20:51
mentorGiorgi Dalakishvili29-Sep-08 20:51 
GeneralRe: Attaching an html file to a mail message Pin
DJ24529-Sep-08 21:24
DJ24529-Sep-08 21:24 
GeneralRe: Attaching an html file to a mail message Pin
Giorgi Dalakishvili29-Sep-08 21:29
mentorGiorgi Dalakishvili29-Sep-08 21:29 
GeneralRe: Attaching an html file to a mail message Pin
DJ24529-Sep-08 21:33
DJ24529-Sep-08 21:33 
GeneralRe: Attaching an html file to a mail message Pin
Giorgi Dalakishvili29-Sep-08 21:37
mentorGiorgi Dalakishvili29-Sep-08 21:37 
QuestionDAL Framework... Working with more than 1 table at a time Pin
Stephen99929-Sep-08 19:42
Stephen99929-Sep-08 19:42 
Hallo Everyone
1st i would like to start off by saying how amazing the people on this site are. I am registered at many places and not event one comes close to this site. The replies are quick and even if someone can’t help you they do leave their comments.
Thanks a lot to all who contribute. It really helps a lot for our newbie’s!!!!! Roll eyes | :rolleyes:

Now for my next Q?
I am new to .NET. The company I am working for now has a DAL framework that they use.
It has Datasets and upon saving we call a method to determine if the row’s is deleted, detached, added or modified and it calls a stored proc to do the desired action. Now this works very well and easy for single tables.
But I am having problems when I need to display 2+ tables
Example (I know this is silly but it replicates the scenario the best)

Table 1(stored ingredients for a recipe)
Identifier
Name of Ingredient

Table 2 (Stores what ingredients are added to make a ...)
Identity
Name of recipe
Ingredient user

Now I need to display a list of ingredients to the user and they need to choose what to use.
As in....
Please select the ingredients needed for a pie
(Ingredients listed from table 1)
Water
Flour
...

I need to list the ingredients of table 1 and upon saving save it to table 2. Which I can do by adding them to the table 2 upon saving and then let the normal DAL framework write the info to the database as Added rows.

But the problem comes in when I need to amend the current recipe. How do I handle the data to display and the saving of the data?

If anybody can give me some background info on how to use this or point me in a direction it will be gr8 thanks.

Thanks,
Christiaan
AnswerRe: DAL Framework... Working with more than 1 table at a time Pin
Ashfield29-Sep-08 21:24
Ashfield29-Sep-08 21:24 
QuestionBar Code scanner integration with application Pin
neer129-Sep-08 19:11
neer129-Sep-08 19:11 
AnswerRe: Bar Code scanner integration with application Pin
Philip.F29-Sep-08 21:50
Philip.F29-Sep-08 21:50 
GeneralRe: Bar Code scanner integration with application Pin
neer129-Sep-08 22:10
neer129-Sep-08 22:10 
GeneralRe: Bar Code scanner integration with application Pin
Philip.F29-Sep-08 22:22
Philip.F29-Sep-08 22:22 
GeneralRe: Bar Code scanner integration with application [modified] Pin
neer130-Sep-08 0:14
neer130-Sep-08 0:14 
Questioni want to crop an image... picture is in picture box,, Pin
maifs29-Sep-08 18:20
maifs29-Sep-08 18:20 
Questioni want to continuously rotating Pin
maifs29-Sep-08 18:13
maifs29-Sep-08 18:13 
QuestionHow to display child rows INLINE along with Parent records using datagrid Pin
vkuttyp29-Sep-08 18:09
professionalvkuttyp29-Sep-08 18:09 
Questionnegative filter problem? Pin
maifs29-Sep-08 16:59
maifs29-Sep-08 16:59 
AnswerRe: negative filter problem? Pin
Wendelius29-Sep-08 18:04
mentorWendelius29-Sep-08 18:04 
GeneralRe: negative filter problem? Pin
maifs29-Sep-08 18:43
maifs29-Sep-08 18:43 
GeneralRe: negative filter problem? Pin
Wendelius30-Sep-08 3:29
mentorWendelius30-Sep-08 3:29 
QuestionPatch Deployment - Newbie Question Pin
kruegersck29-Sep-08 13:06
kruegersck29-Sep-08 13:06 
AnswerRe: Patch Deployment - Newbie Question Pin
Muhammad Shahid Farooq29-Sep-08 13:25
professionalMuhammad Shahid Farooq29-Sep-08 13:25 
GeneralRe: Patch Deployment - Newbie Question Pin
kruegersck30-Sep-08 1:57
kruegersck30-Sep-08 1:57 
GeneralRe: Patch Deployment - Newbie Question Pin
Muhammad Shahid Farooq30-Sep-08 4:54
professionalMuhammad Shahid Farooq30-Sep-08 4: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.