Find Jobs
Hire Freelancers

C#, ASP.NET functions to display scheduler data

$30-40 USD

Completed
Posted over 20 years ago

$30-40 USD

Paid on delivery
I need four C# (ASP.NET) functions (see Deliverables): 1. private DataTable FormatDailySchedules(SqlDataReader ScheduleDataReader) 2. private DataTable FormatWeeklySchedules(SqlDataReader ScheduleDataReader) 3. private DataTable FormatMonthlySchedules(SqlDataReader ScheduleDataReader) 4. protected DataView(DataTime StartDate, DateTime EndDate, SqlDataReader ScheduleDataReader) The ASP.NET input form for the SQL data you'll be working with is VERY similiar to the WinXP/2000 Scheduler, to you can get a hint of the what the data means. I need this stored Scheduler data translated so that it means something to the end user viewing all of his schedules. I will use the function you create to eventually bind to a DataGrid, and to a Calendar. ## Deliverables Complete ownership and distribution copyrights to all work purchased. I need four C# (ASP.NET) functions: 1. private DataTable FormatDailySchedules(SqlDataReader ScheduleDataReader) 2. private DataTable FormatWeeklySchedules(SqlDataReader ScheduleDataReader) 3. private DataTable FormatMonthlySchedules(SqlDataReader ScheduleDataReader) The outputted DataTables will contain the following transformed data: ScheduleId OrganizationalUnitID ScheduleName Description - for each ScheduleId, the outputted DataTable fields should be transformed into a readable format describing each Schedule such as "At 4:51 AM every Tue, starting 3/1/2003" or "At 9:30 PM on Day 7 of February and March, starting 9/2/2003". This is very similar to the schedule description in WinXP/2000 scheduler, (the asp.net form input is much the same as this as well), so take your cues from there. 4. protected DataView(DataTime StartDate, DateTime EndDate, SqlDataReader ScheduleDataReader) This DataView will bind to a Calendar. The DataView returned should contain the following fields: ScheduleID ScheduleName StartDate EndDate As ScheduleDataReader is only a description of when the scheduled task can run, you must calculate all the start dates/times and end dates/times for each scheduleid within the Start/End times passed. INPUT DATA DESCRIPTION(SqlDataReader ScheduleDataReader) (I've included field descriptions and possible values): [ScheduleID] [int] IDENTITY - (Identification field for the schedule), [OccurancePatternID] [tinyint] - (values: 1=daily, 2=weekly, 3=monthly), [StartTimeofDay] [datetime] - (values in format of: 1/1/1900 9:00:00 AM), [EndTimeofDay] [datetime] - (values in format of: 1/1/1900 9:00:00 AM), [Sunday] [bit] - (indicates whether the scheduled job runs on this day. values: 0 = unselected, 1 = selected. same for all the following bit fields), [Monday] [bit] , [Tuesday] [bit] , [Wednesday] [bit] , [Thursday] [bit] , [Friday] [bit] , [Saturday] [bit] , [MonthlyOrdinal] [tinyint] (scheduled job runs on the x (M,Tu,W,Th,F,Sa, or Su) of the month. values: x = 1,2,3,4, or 5 (5 means the last (M,Tu,W,Th,F,Sa, or Su) of the month.)), [MonthlyStartDate] [tinyint] (scheduled job runs on the x day of the month. values: x = 1 through 31), [MonthlyEndDate] [tinyint] (not currently used, but column is still passed) , [ScheduleActive] [bit] (indicates whether the schedule is active (1) or not (0)) , [DateScheduleDisabled] [datetime] , [January] [bit] - (indicates whether the scheduled job runs on this month. values: 0 = unselected, 1 = selected. same for all the following bit fields), , [February] [bit] , [March] [bit] , [April] [bit] , [May] [bit] , [June] [bit] , [July] [bit] , [August] [bit] , [September] [bit] , [October] [bit] , [November] [bit] , [December] [bit] , [RecureDaily] [tinyint] - (indicates that the scheduled job repeats every x days), [RecureWeekly] [tinyint] - (indicates that the scheduled job repeats every x weeks), [FirstStartDate] [datetime] - (the first day the scheduled job is to start) , [ScheduleName] [varchar(100)] - ( the name of the schedule) [OrganizationalUnitId] [int] - (the tree node the schedule is attached to) ## Platform Windows 2000 Server. .NET Runtime v. 1.1 ASP.NET C#
Project ID: 2964367

About the project

3 proposals
Remote project
Active 21 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$25.50 USD in 2 days
4.8 (35 reviews)
5.3
5.3
3 freelancers are bidding on average $31 USD for this job
User Avatar
See private message.
$34 USD in 2 days
5.0 (111 reviews)
5.7
5.7
User Avatar
See private message.
$34 USD in 2 days
5.0 (4 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
172
Member since Jun 24, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.