id="dtlProducts"
AllowPaging="true"
DataSourceID="srcProducts"
DataKeyNames="Id"
AutoGenerateInsertButton="true"
AutoGenerateDeleteButton="true"
AutoGenerateRows="false"
Runat="server">
DataField="Id"
HeaderText="ID:"
InsertVisible="false" />
DataField="Title"
HeaderText="Title:" />
DataField="Director"
HeaderText="Director:" />
DataField="InStocks"
HeaderText="In Stocks:" />
id="srcProducts"
ConnectionString="<%$ ConnectionStrings:Products %>"
SelectCommand="SELECT Id,Title,Director,InStocks FROM Products"
InsertCommand="INSERT Products (Title,Director,InStocks) VALUES (@Title,@Director,
DeleteCommand="DELETE Products WHERE id=@Id"
Runat="server" />