Am currently experimenting with http://owncloud.org/ – an open source cloud server. Version 5 installation manual is available for linux based hosts as well as for Windows server.
Web Colour Codes
This website is a great quick lookup for web html colour codes. It’s a bit old school but if you after a code for a pink or a blue and don’t want the hassle of firing up a colour picker or graphics package, then this is a great reference.
Backup Pidgin Copy to New Computer
Here is a decent plugin to transfer your data from one Pidgin installation to another one on a different PC – including your accounts.
SQL ALTER TABLE Statement
I love this site, SQL ALTER TABLE Statement
New line in ConfirmButtonExtender Ajax
This is one thing I always forget. The /n or <br> to make a new line in the ConfirmText of the ConfirmButtonExternder in Ajax will not work. In VB you will need to use
Yes No Boolean in ASP.NET Gridview
When bringing back boolean or ‘bit’ data type fields from a database into your ASP.NET gridview, by default it will display a checkbox. The checkbox will be ticked if the field is yes and unchecked if it is no.
This may not be what you want and it can look unclean. To get the text Yes or No in your gridview instead of the text field, you will need to manually enter a template field, for example
<asp:TemplateField HeaderText=”MyBooleanField” SortExpression=”MyBooleanField”>
<ItemTemplate>
<%# IIf(Boolean.Parse(Eval(“MyBooleanField”).ToString()), “Yes”, “No”)%>
</ItemTemplate>
</asp:TemplateField>
Replace “MyBooleanField” with your database filed name. “Yes” or “No” can be replace with whatever text you want such as “Never” or “Always”, depending on the context of your grid.
Enjoy, T.
Electronic Case Record Forms
Creating an electronic version of a Case Record Form (CRF) is more challenging than at face value. Forms need to be linked together with an anonymous identity and designed with a work-flow for entering data that provides the best means of ensuring data integrity.
Electronic CRF’s have been designed by Click and Fix that provide the end-user (normally a research nurse) with a simple interface, based on a paper CRF, but with work-flow and validation rules in place to ensure data is entered correctly. There is also a ‘save or submit’ function in place. This enables an end user to save, exit the form and return later. By entering a subject number, the saved details can be recalled and further form fields completed as necessary. Once a form has been submitted, a more rigorous validation process is initiated. Only once the validation has passed, the form will be submitted and ‘locked-down’ to ensure data cannot be subsequently changed.
Various validation techniques have been designed by Click and Fix that include a message interface to clearly describe to the end-user any validation error messages and point to the part of the form that needs to be amended.
Validation rules may include processes such as ensuring a date entered is within the correct range, a field dependency has not been completed (such as a ‘reason’ if ‘no’ was selected), or an invalid selection has been made from a drop-down list. Programmatical validation is also built in where necessary in addition to field based validation, such as ensuring gender specific information has been completed by querying information provided earlier on in the process.