YPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w***3.org/TR/REC-html40/loose.dtd">
YPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.**w*3.org/TR/xhtml11/DTD/xhtml11.dtd">
FormView并不是由那些杂七杂八的列所组成的。你不能给一个FormView添加BoundField或是TemplateField,不过FormView是使用模板来呈现的。我们可以这样来理解FormView,把它当作只含有一个TemplateField的DetailsView控件
Untitled Page
File: Web.config
更复杂用法
Untitled Page
File: Web.config
connectionString="Data Source=localhostSQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True"
providerName="System.Data.SqlClient" />