Click here to Skip to main content
15,906,567 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC4-Jan-11 14:02
LAPEC4-Jan-11 14:02 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? [modified] Pin
Henry Minute5-Jan-11 9:03
Henry Minute5-Jan-11 9:03 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC5-Jan-11 13:15
LAPEC5-Jan-11 13:15 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute5-Jan-11 13:17
Henry Minute5-Jan-11 13:17 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC5-Jan-11 13:23
LAPEC5-Jan-11 13:23 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute5-Jan-11 13:24
Henry Minute5-Jan-11 13:24 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC6-Jan-11 2:32
LAPEC6-Jan-11 2:32 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute6-Jan-11 4:36
Henry Minute6-Jan-11 4:36 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC6-Jan-11 6:01
LAPEC6-Jan-11 6:01 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute6-Jan-11 8:29
Henry Minute6-Jan-11 8:29 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC6-Jan-11 8:35
LAPEC6-Jan-11 8:35 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute6-Jan-11 11:04
Henry Minute6-Jan-11 11:04 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC6-Jan-11 11:28
LAPEC6-Jan-11 11:28 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute6-Jan-11 11:29
Henry Minute6-Jan-11 11:29 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC6-Jan-11 11:32
LAPEC6-Jan-11 11:32 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC6-Jan-11 11:57
LAPEC6-Jan-11 11:57 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute6-Jan-11 12:00
Henry Minute6-Jan-11 12:00 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC6-Jan-11 12:04
LAPEC6-Jan-11 12:04 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute6-Jan-11 13:07
Henry Minute6-Jan-11 13:07 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC6-Jan-11 13:23
LAPEC6-Jan-11 13:23 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute6-Jan-11 14:19
Henry Minute6-Jan-11 14:19 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC6-Jan-11 15:13
LAPEC6-Jan-11 15:13 
Hi Henry

Going back to step number 4 of your last question,
-As a matter of fact yes the number has to be decreased on the button every time the user orders that item,
and on step 5:
-Well basically when it reaches zero to disable that button (such as enable = false), or draw sort of X (diagonally) accross that button,
-It doesnt have to be topped up automatically.

Let me explain in another way....

Say for instance the Manager asks the chef in the kitchen about food items, and the Chef sas to the Manager I have only 10 soups for dinner,
What the Manager should do then notify all the waiters that there are only 10 soups for dinner,
And then the Manager should go to the computer system (in this case my project for insatance)
Click the:
-Manage button, then
-StockIn button, then
-Select Starter Button (the items get displayed to datagridview)
-Double click the particular datagridview cell (in this case the Soup)
-Insert qty num for that item (such as 10)
-And that number should be displayed inside the Soup Button.

(a) Now if all 10 soups get ordered (for instance by customers) the number should be decreased untill reaches zero and enable = false that button.

This what the DatagridView should look like before Manager takes action...

===============================================================
FoodName     FoodType     Qty In Stock     Status
===============================================================
Olives       Starter      0                <Allways on Stock>
Soup         Starter      0                <Allways on Stock>
etc...       etc...       etc...           etc...
===============================================================


This what the DatagridView should look like after Manager takes action...

===============================================================
FoodName     FoodType     Qty In Stock     Status
===============================================================
Olives       Starter      0                <Allways on Stock>
Soup         Starter      10               <Controlled>
etc...       etc...       etc...           etc...
===============================================================


(b) But in the mean time (this is reverse scenario) if Chef can manage to make more soup for that dinner and tells the Manager that he has enough soup, then the manager should go back do the same procedure and enable = true the soup button.

And finally this what the DatagridView should look like (read step (b)) when Manager takes action....

===============================================================
FoodName     FoodType     Qty In Stock     Status
===============================================================
Olives       Starter      0                <Allways on Stock>
Soup         Starter      0                <Allways on Stock>
etc...       etc...       etc...           etc...
===============================================================


in the mean time I would like to carry on as it is now I hope you dont get upset



Kind regards

roni
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute7-Jan-11 11:16
Henry Minute7-Jan-11 11:16 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC7-Jan-11 13:21
LAPEC7-Jan-11 13:21 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
LAPEC9-Jan-11 8:37
LAPEC9-Jan-11 8:37 

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.