15,897,371 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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
LAPEC
8-Jan-11 21:55pm
View
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...
[code]=================================================================
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
=================================================================[/code]
Kind regards
lapeci
LAPEC
4-Jan-11 17:31pm
View
Hi JOAT
Is it possible to show me how to ammend the ListViewGroup.Header...
Thanks in advance
roni
LAPEC
2-Jan-11 19:39pm
View
I already done that but its not working and it creates more problem.
What I'm trying to accomplish is (as I said earlier when I posted my question), get the database records using parameter (see the code above) display them into datagridview, and in the mean time create another two columns at the run time and aswell display this other two columns together with the other ones. like so...
________________________________________________________________
FoodName ToodType Quantity In Stock Status
----------------------------------------------------------------
Soup Starter 0 Allways in Stock
Olives Starter 0 Allways in Stock
________________________________________________________________
Kind regards
Roni
LAPEC
2-Jan-11 18:59pm
View
Now I'm facing much more (a bigger problem), I have never thought of that what you said earlier...
deep deep trouble :(
kind regards
LAPEC
2-Jan-11 18:52pm
View
Hi Manfred
So are you saying that the two lines of code (you mentioned) I should place them inside my event handler...
kind regards
roni
LAPEC
29-Dec-10 21:44pm
View
Hi Manfred
still the same error
LAPEC
29-Dec-10 21:37pm
View
Hi Manfred
The error im receiving it sas Object refernece not set to an instance of an object. line 102
in this line of code
<pre>ListViewItem foodItem = new ListViewItem(((DataRowView)DtposMenuBS.Current)["FoodName"].ToString());</pre>
LAPEC
28-Dec-10 21:49pm
View
at this line of code
ListViewItem foodItem = new ListViewItem(((DataRowView)DtposMenuBS.Current)["FoodName"].ToString());
LAPEC
28-Dec-10 21:43pm
View
Hi Manfred
I'm confused about the comments can you be more specific please
thanks
Roni
LAPEC
28-Dec-10 21:36pm
View
Hi Al-Farooque Shubho
The error is:
Object reference not set to an instance of an object
LAPEC
13-Dec-10 22:14pm
View
Hi Mark
Its me again, thanks for responding to my question, but I didnt find any help that you sugested.
If you could show me with a sample of code it would be greatfull, I'm really strugling with it...
Thnaks again in advance
kind regards
Agron
LAPEC
12-Dec-10 16:07pm
View
thanks Manfred i got the problem its working now...
thanks again
kind regards
roni
LAPEC
12-Dec-10 15:36pm
View
Dear ManfredRBihy
thanks for responding to my question, but as a matter of fackt is still not working its giving me the same error.
Could you please explain the a bit of code more in detail.
thanks again in advance
kind regards
roni
LAPEC
9-Dec-10 21:31pm
View
Dear Henry
Thanks for the answer to my question, but I think you lost me with the parameterized query, could you please explain me with a bit of sample code if possible...
thanks in advance
Agron
LAPEC
19-Nov-10 16:24pm
View
Thanks a lot John that was very very helpfull...
Show More