id="lblName"
Text="Name:"
AssociatedControlId="txtName"
Runat="server" />
id="txtName"
Runat="server" />
id="lblComments"
Text="Comments:"
AssociatedControlId="txtComments"
Runat="server" />
id="txtComments"
TextMode="MultiLine"
Columns="50"
Rows="2"
Runat="server" />
id="btnAddEntry"
Text="Add Entry"
Runat="server" OnClick="btnAddEntry_Click" />
id="grdGuestBook"
DataSourceId="srcGuestBook"
Runat="server" />
id="srcGuestBook"
ConnectionString="<%$ ConnectionStrings:GuestBook %>"
SelectCommand="SELECT Name,Comments FROM GuestBook
ORDER BY Id DESC"
InsertCommand="INSERT GuestBook (Name,Comments)
VALUES (@Name,@Comments)"
Runat="server">