How can i display the task details performed within a particular date when i click on said date in the calendar control.
Example:
- I click on Jan 5 in the calendar and then i get the task performed on that date.
I am using C# and ASP.NET (2008)
How can i display the task details performed within a particular date when i click on said date in the calendar control.
Example:
I am using C# and ASP.NET (2008)
Assuming you have a table with tasks and assigned dates, create a DataSet with a TableAdapter for said table, and use an ObjectDataSource on your page that takes the selected calendar day as a param and returns the rows to a GridView.
store task with date in database. write select statement that has date parameter and return task on given parameter. Onclick event return data from executed procedure and display result.
Add in your calendar with the OnSelectionChanged event
<asp:calendar ID="myCalendar" runat="server" onselectionchanged="myCalendar_SelectionChanged"></asp:calendar>
</form>
Then on click load in your Task
protected void myCalendar_SelectionChanged(object sender, EventArgs e)
{
// Load your task
}