Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good Morning.

I am developing a program in VB.Net and Its called Scheduling System, I am almost done developing it. Saving Information,Updating them and Giving Schedules to each Employee using the System but Today my Prof. ask me that he wants to see Persons with Schedule`s in a Calendar Design like this.

Sample Image

Based on the Image above here is the controls inside my form.

VB
Calendar Control 12.0 (AxCalendar1)
    Label


this is the best way I can do to Show to you what Output I want. The Person 1 is also related in my MYSQL Database like this.

Database

all of the Image above is only an Example of what Output I want. Do i have something to do with the codings like:

SQL
select ElecAssigned from MyTable where ScheduledDate = '" & AxCalendar1.value(or Each Date of Calendar?) group by ScheduledDate;


is this the way to do it? As of now here`s what I have.

My Question is how can I display Data from my Database based on Date in Calendar? Lets say I will input data more and there `ScheduledDate` are Diff. How can I display the Data in Diff. Dates?

I hope all of you get my point.

General Question: How can I Display Data from MYSQL Database in Calendar Control by Date?

Please help me.

What I have tried:

I tried searching but I did not find possible solution to my problem
Posted
Updated 7-Jun-16 8:54am
Comments
CHill60 6-Jun-16 12:12pm    
Is this WinForms? WPF? ASP.NET?
Crixalis Paul 7-Jun-16 21:53pm    
Im not Good in C# :(
Crixalis Paul 6-Jun-16 21:41pm    
Sir are you still online? I hope you can help me. This is Winforms
CHill60 7-Jun-16 14:55pm    
In future, if you reply to a comment, then use the "Reply" link next to it. That way the poster is notified that you are responding. I only came across your reply by accident
Crixalis Paul 7-Jun-16 21:33pm    
Im sorry sir, It wont happen again. I will communicate with you asap. TYSM for help

1 solution

There are paid for controls you could buy or you could write a custom control.

Have a look at this CodeProject article for a good example Calendar.NET [^]

[EDIT] - And here is a CP article on DataBinding that control ... Implementing complex data binding in custom controls[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900