 |
interactive | editorial | code | resource |
|
|
|
|
Single tables |
Multiple tables |
Advanced Searching |
Demonstration using the Northwind database included with SQL server |
Advanced Demonstrations using QuickAdmin v1.1 |
|
|
|
|
|
|
|
|
Login and customise your experience |
|
Demonstrations > Part 1
Part 1 - Single Tables
Viewing a table
Let’s start with a simple example. Here’s QuickAdmin being used to edit a single
table:
|
|
Next steps:
Adding records - Click the Add button.
Editing records - Click the Supplier ID or Company Name.
Deleting records - Click the Supplier ID or Company Name.
These 10 lines of code were used to generate this page:
<QuickAdmin:Admin Runat=server id="myAdmin" Table="Suppliers" DataFieldIsString=false DataField="SupplierID" SqlDBConnStr="Data Source=(local); Initial Catalog=Northwind; Integrated Security=SSPI;" AllowFuzzy=True AddButton=true DeleteButton=true >
<Results>
<QuickAdmin:ResultsDataGrid runat=server Width=100% DataKeyField="SupplierID" ID="ResultsDataGrid1" AllowPaging=True AllowSorting=True >
<Columns>
<QuickAdmin:ResultsColumn DataField=SupplierID HeaderText="Supplier ID" SortExpression=SupplierID Table=Suppliers Link=False />
<QuickAdmin:ResultsColumn DataField=CompanyName HeaderText="Company Name" SortExpression=CompanyName Link=True ToolTip="Click here to edit this Supplier" />
</Columns>
</QuickAdmin:ResultsDataGrid>
</Results>
</QuickAdmin:Admin>
|
Return to the Demonstrations homepage.
Demonstrations > Part 1 | |
|
Here's a representation of the database:  |
|
|
 |
You are not logged in. |
Quick search:
|
This site is part of the allasp.net network. Take a look at our great ASP.NET components: dbcombo.net Web combo-box that autocompletes values from the server as you type! Great for selecting from long lists. quickadmin.net Professional database admin pages in minutes rather than days! - fully ranked search / view / add / edit etc. imageadmin.net Web-based image upload manager. Lets you set criteria on uploaded images to enforce consistency. |
|