Click here to Skip to main content
15,897,371 members

Comments by LAPEC (Top 20 by date)

LAPEC 11-Jun-12 6:42am View    
Hi Tim

Thanks for replying to my question...

My application is restaurant based (point of sale system). The ClockIn and ClockOut is for the user (employee) to clock-in to the system when he/she starts the shift working at the work place, and clock-out when he/she finishes the shift at the work place...

I hope my question is understandable, and please feel free to ask more about my question if its not clear to you...

Thanks in advance

kind regards

lapeci
LAPEC 30-Jan-11 10:03am View    
Hello Espen

thanks for your reply to my question...
Do you mind if I show you the code and see where the problem is, (if possible)...

thanks in advance

kind regards
lapeci
LAPEC 11-Jan-11 19:37pm View    
Hi D@nish
Yes Form1 does open Form2,
The Button can be created at any time (on Form1) whenever the button click_event is fired on Form1...

kind regards

lapeci
LAPEC 9-Jan-11 11:36am View    
Hi Thatraja

I'm trying to follow what you said but still I don't understand (I'm trying to learn the C# programming because I'm new to this, never came across before), could you please have a look at my code and tell me where to make changes please.

kind regards

lapeci
LAPEC 9-Jan-11 8:40am View    
Deleted
Hi Thatraja

Thanks for answering my qustion, but I think you probably didn't understand my question.
Your answer looks perfectly right, but its not working in my program the way I wanted.

If you look my code inside the cmdStarters_Click event, I'm generating the two columns with records from the databse (such as: FoodName and FoodType). Now the other two columns (such as: Quantity In Stock and Status) they can not be generated from database, they must be generated at run time as template columns and the rows of this two columns must be filled with data like so...

=================================================================
FoodName FoodType Qty In Stock Status
=================================================================
Olives Starter 0 Allways On Stock
Soup Starter 0 Allways On Stock
Caprese Starter 0 Allways On Stock
Bruschetta Starter 0 Allways On Stock
Mushroom Starter 0 Allways On Stock
Antipasto Starter 0 Allways On Stock
Scallops Starter 0 Allways On Stock
Calamari Starter 0 Allways On Stock
Crab Avocado Starter 0 Allways On Stock
Pizza Bread Starter 0 Allways On Stock
=================================================================

Kind regards

lapeci