Update of /cvsroot/springnet/Spring.Net/examples/Spring/Spring.WebQuickStart/src/Spring.WebQuickStart.2005/DataBinding
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv12346
Added Files:
Default.aspx Default.aspx.cs
Log Message:
improved WebQuickStart examples
fixed SPRNET-344
fixed SPRNET-696
fixed SPRNET-706
--- NEW FILE: Default.aspx.cs ---
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class DataBinding_Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
--- NEW FILE: Default.aspx ---
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="DataBinding_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Spring.NET Web Framework Quick Start Guide - Bi-directional DataBinding</title>
</head>
<body>
<h2><a href="../Default.aspx">Welcome to Spring.NET Web Framework Quick Start Guide</a></h2>
<div>
<h2>Bi-directional DataBinding</h2>
<p>
Samples in this section demonstrate Spring.NET's capabilities of bi-directional
binding data between your model and form.
</p>
<h3><a href="HelloWorld/Default.aspx">Hello World</a></h3>
<p>
This very simple web form demonstrates basic bi-directional data binding.
</p>
<h3><a href="EventHandling/Default.aspx">Event Handling</a></h3>
<p>
This example builds on the previous one by adding postback event handler
that will convert the name to uppercase.
</p>
<h3><a href="Collections/Default.aspx">HttpRequestListBindingContainer</a></h3>
<p>
This example demonstrates unbinding data from request into a list using a HttpRequestListBindingContainer.
</p>
<h3><a href="EmployeeInfo/Default.aspx">Employee Info</a></h3>
<p>
Shows basics of bi-directional databinding with simple webcontrols (TextBox etc.)
</p>
<h3><a href="RobustEmployeeInfo/Default.aspx">Robust Employee Info</a></h3>
<p>
Demonstrates basic model validation capabilities
</p>
<h3><a href="Lists/Default.aspx">Lists</a></h3>
<p>
Demonstrates bi-directional binding of multi-selection listboxes
</p>
</div>
</body>
</html>
|