TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Memento
NA
111
133.5k
How to pupulate DataGridViewColumnHeaders by dates and Names of Days
Jul 2 2012 4:14 AM
I need to populate a dgv's ColumnHeaders in this way:
Name 1 2...
Sunday Monday ...
So first column is for Names - header is single line.
Each other column has twoLines header:
first line is date in currentMonth
second line is name of that day.
So, dgv.Columns.Count is always = currentMonth.DaysInMonth.Count + 1
dgv is unbounded.
I allready have a long, repeating "foreach" procedure, which works, and if needed I can post it, but I need as short as possible way, probably something with arrays.
Thanks in Advance.
Reply
Answers (
2
)
pdf reader in C#
response redirect