Search results

  1. P

    Table Representation in Classes

    Imagine you have a database with a table in it. Imagine that you wish to represent this table in your code as a class. What is the most efficient (maintenance-wise) way of representing your database table? Currently, I'm trying to decide. I can either go for something like: Public Class...
  2. P

    Datagrid code repository

    I've been working with the Windows Forms datagrid (groan) for some time, and have built up a small collection of classes (that are by no means complete), that handle things like combobox columns, multiline textbox columns, clickable boolean columns, and coloured rows based on values. I'm...
  3. P

    Calcualtion of working days.

    I'd like some input on the best way to calculate working days. On the surface, the problem seems simple - work out how many 'working days' are between two dates. For the purposes of this, a 'working day' is considered Monday to Friday. The tricky part is excluding Bank holidays, and Employee...
Back
Top