Hi sck10,
The FormView control in asp.net 2.0 is something like the DataGrid or
Repeater control in asp.net1.1 which is called Template DataBound control.
As for such controls, they display datas according to the datasource we
assigned to them and what we set in the aspx page is the binding
template(not the finally display content). We need to specify databinding
expressions in the template so that at runtime, the control will loop
through the datasource and apply the template in each dataitem in the
datasource. Here is a blog article which has provide a simple demo on the
FormView
#FormView control in ASP.Net 2.0
http://normen.mine.nu/MyBlog/viewpost.aspx?PostID=102
Also, here are some other reference on asp.net template databound control
and databound:
#Understanding Templates in ASP.NET
http://msdn.microsoft.com/msdnmag/is...g/default.aspx
#Building DataBound Templated Custom ASP.NET Server Controls
http://msdn.microsoft.com/library/de...us/dnaspp/html
/databoundtemplatedcontrols.asp
Hope also helps. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)