Creating Database Widgets

How to Create a Widget

Link here for complete instructions.