<%@ Page Language="C#" MasterPageFile="~/res/MasterPage.master" AutoEventWireup="true" CodeFile="ControlExample.aspx.cs" Inherits="ControlExample" Title="Control Examples" %>

Control Examples

SubSonic has four controls that you can use to make your life a bit easier.

DropDown

The first is our DropDown control - all you need to do is add a TableName to the declaration and you have a nice DropDown that loads itself. Note that we don't query "SELECT *" - we only grab the two columns that we need for the selection:

Categories

QuickTable

Did you ever just need to show some data on a page? Did you ever wish there was a simple way to do this without using the GridView/DataGrid? Those controls are very nice, but setting them up with paging and sorting can take some time and extra code. Instead you can use our QuickTable: --ManyManyList Coming Soon---