Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to run application from network folder Pin
AndrusM31-Jul-08 9:13
AndrusM31-Jul-08 9:13 
GeneralRe: How to run application from network folder Pin
mav.northwind31-Jul-08 18:22
mav.northwind31-Jul-08 18:22 
GeneralRe: How to run application from network folder Pin
AndrusM31-Jul-08 23:16
AndrusM31-Jul-08 23:16 
QuestionAuto Updater under Vista Pin
Markus Mayer29-Jul-08 23:02
Markus Mayer29-Jul-08 23:02 
AnswerRe: Auto Updater under Vista Pin
mav.northwind30-Jul-08 19:09
mav.northwind30-Jul-08 19:09 
Questionwinform - treeview tooltip Pin
arkiboys29-Jul-08 22:56
arkiboys29-Jul-08 22:56 
QuestionGloryfied Calender Control Pin
Harvey Saayman29-Jul-08 21:44
Harvey Saayman29-Jul-08 21:44 
AnswerRe: Gloryfied Calender Control Pin
Simon P Stevens29-Jul-08 23:26
Simon P Stevens29-Jul-08 23:26 
You're confusing your self by thinking in database schemas. The roster is really a artificial entity, used only to prevent many to many relationships in the database, it doesn't need to be displayed to the user.

What you really have is each employee can work many shifts, and each shift can have many employees.

So you need two alternative views. 1 view allows the user to select an employee, and assign which shifts they work, and the other allows the user to select a shift, and assign which employees will work that shift. Depending on your use cases, you may only need one of these views. Of different types of users may need different views. (If for example, employees log in and select their own shifts, you could automatically just display data for the logged in employee)

Depending on number of employees/shifts you could have a drop down box to select the employee and tick boxes underneath to assign shifts. Or if you have a lot of shifts, maybe a list box of the shifts the employee is working, with add/remove buttons.

or the reverse, a simple calender control to select the shift, then a list of employees underneath with tick boxes.

I'm starting to ramble now Smile | :) . Hope I've given you some ideas.

Simon

GeneralRe: Gloryfied Calender Control Pin
Harvey Saayman31-Jul-08 22:11
Harvey Saayman31-Jul-08 22:11 
GeneralRe: Gloryfied Calender Control Pin
Simon P Stevens1-Aug-08 2:42
Simon P Stevens1-Aug-08 2:42 
GeneralRe: Gloryfied Calender Control Pin
Harvey Saayman1-Aug-08 2:58
Harvey Saayman1-Aug-08 2:58 
GeneralRe: Gloryfied Calender Control Pin
DaveyM691-Aug-08 3:10
professionalDaveyM691-Aug-08 3:10 
GeneralRe: Gloryfied Calender Control Pin
Harvey Saayman1-Aug-08 3:21
Harvey Saayman1-Aug-08 3:21 
GeneralRe: Gloryfied Calender Control Pin
DaveyM691-Aug-08 3:48
professionalDaveyM691-Aug-08 3:48 
GeneralRe: Gloryfied Calender Control Pin
Simon P Stevens1-Aug-08 3:54
Simon P Stevens1-Aug-08 3:54 
GeneralRe: Gloryfied Calender Control Pin
Harvey Saayman1-Aug-08 8:36
Harvey Saayman1-Aug-08 8:36 
AnswerRe: Gloryfied Calender Control Pin
DaveyM6929-Jul-08 23:33
professionalDaveyM6929-Jul-08 23:33 
GeneralRe: Gloryfied Calender Control Pin
Harvey Saayman31-Jul-08 22:13
Harvey Saayman31-Jul-08 22:13 
Questionoverride TreeNode Class in C# Pin
sanjeevmedhi29-Jul-08 21:43
sanjeevmedhi29-Jul-08 21:43 
AnswerRe: override TreeNode Class in C# Pin
DaveyM6929-Jul-08 23:37
professionalDaveyM6929-Jul-08 23:37 
GeneralRe: override TreeNode Class in C# Pin
sanjeevmedhi30-Jul-08 23:28
sanjeevmedhi30-Jul-08 23:28 
QuestionApplication Crack Pin
Syed Shahid Hussain29-Jul-08 21:38
Syed Shahid Hussain29-Jul-08 21:38 
AnswerRe: Application Crack Pin
leppie29-Jul-08 23:19
leppie29-Jul-08 23:19 
AnswerRe: Application Crack Pin
Ajay.k_Singh29-Jul-08 23:58
Ajay.k_Singh29-Jul-08 23:58 
GeneralRe: Application Crack Pin
leppie30-Jul-08 0:29
leppie30-Jul-08 0:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.