Click here to Skip to main content
15,895,462 members
Home / Discussions / C#
   

C#

 
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 
Hi Henry

The purpose of the Qty In Stock & Status is to control the food and drinks on application at run time.
Basically if for instance there are only 10 portion of Soups, what I want to do is go to that StockIn form
(I mentioned on my previous question) and controll it like so...

this is the datagridview what it should look like (after you click the starter button)

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


and this is a datagridview what it should look like when you controll the stock of your food at run time...

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


So basically what I'm trying to achieve is, as soon as I load the database records for instance Starters
(see above the 1st datagridview) click on the cell under the Qty In Stock Column of the Soup Row
(see the 2nd datagridview) pop up a dialog form and enter the quantity of that food,
and then take that number (num 10) and displayit on the button (called Soup) of the first form the one with the restaurant menu.

Please Henry let me know if you don't understand my question....


Kind regards

Roni
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 
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 
GeneralRe: C# - How to call database records one-by-one and display it in ListView? Pin
Henry Minute9-Jan-11 8:38
Henry Minute9-Jan-11 8:38 

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.