id="dtlProducts"
DataSourceID="srcProducts"
DataKeyNames="Id"
AllowPaging="true"
AutoGenerateEditButton="true"
AutoGenerateInsertButton="true"
AutoGenerateDeleteButton="true"
AutoGenerateRows="false"
CssClass="detailsView"
PagerSettings-Mode="NumericFirstLast"
Runat="server">
HeaderText="Product Id:" ReadOnly="true" InsertVisible="false" />
id="srcProducts"
SelectCommand="SELECT Id,Title,Director FROM Products"
InsertCommand="INSERT Products (Title,Director,CategoryId,DateReleased)VALUES (@Title, @Director,0,'12/15/1966')"
UpdateCommand="UPDATE Products SET Title=@Title,Director=@Director WHERE Id=@Id"
DeleteCommand="DELETE Products WHERE Id=@Id"
ConnectionString="<%$ ConnectionStrings:Products %>"
Runat="server" />