16,022,413 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 .NET 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 markypm (Top 6 by date)
markypm
11-Oct-11 16:29pm
View
yeh that's how im doing it right now i just don't understand why it acts that way. thanks anyway!
markypm
11-Oct-11 16:15pm
View
why the downvote..? i need help anyone?
markypm
11-Oct-11 16:03pm
View
hi, thanks for the reply and for editing the code. yes sorry it is HeaderCell.Value.. It accepts an object so it does compile and properly store the DateTime object. But it does not display it as caption. where as any other function that accepts an object automatically takes the ToString() returned value.. or maybe I'm approaching it the wrong way?
If I do it as you suggested then the value will be a string and not a datetime object. i need to store a datetime object cause later in the code i need to be able to get the object it holds.
markypm
5-Oct-11 13:44pm
View
unfortunately, the context of the application requires the said functionality. regardless, the link you gave me contained the answer i needed so thanks nevertheless! +5
markypm
4-Oct-11 6:01am
View
what im trying to do is a schedule management system kinda.. so you have this datagridview with all employees name listed in the first column. to set a roster a user simply has to click a cell nothing more.. so that's why i need it displayed that way. i honestly couldnt think of a better way to display such functionality. something like
Feb1 Feb2 ... Feb28
user1 S1 S1 S1
user2 S1 S2 DO
user3 S2 S1 S1
if its really that hard to do it with datagridviews.. then any suggestions are most welcome. thanks
markypm
4-Oct-11 5:29am
View
I'm only going to display the number of days in a month say if a user selected february then my column headers would contain 1-28 and if that corresponding day is in the database table then the rowcell will show the value of shiftType.
Show More