Kishh
Kishh

Reputation: 2055

scaffold in subsonic

Hey all i am using SubSonic 2.1 Version, how to access the scaffold control in our project. Pls help me with code.

Regards

Kishore

Upvotes: 1

Views: 289

Answers (1)

TheVillageIdiot
TheVillageIdiot

Reputation: 40497

Setup all the Subsonic stuff (like the configuration etc.). In you page register controls:

<%@ Register Assembly="SubSonic" Namespace="SubSonic" TagPrefix="subsonic" %>

Here is simplest way to use scaffold:

<subsonic:Scaffold ID="Scaffold1" runat="server" TableName="Table_Name">
</subsonic:Scaffold>

Upvotes: 5

Related Questions