
Originally Posted by
aridoasis
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="CommentID"
DataSourceID="SqlDataSource1" AllowPaging="True" AllowSorting="True" Width="558px">
<Columns>
<asp:BoundField DataField="DateSubmitted" HeaderText="DateSubmitted" SortExpression="DateSubmitted" />
<asp:BoundField DataField="Comment" HeaderText="Comment" SortExpression="Comment" />
<asp:BoundField DataField="SubmittedBy" HeaderText="SubmittedBy" SortExpression="SubmittedBy" />
<asp:BoundField DataField="CommentStatus" HeaderText="CommentStatus" SortExpression="CommentStatus" />
<asp:HyperLinkField DataNavigateUrlFields="CommentID" DataNavigateUrlFormatString="ReplyComment.aspx?Com mentID={0}"
Text="Reply" />
** here unta na hyperlink... how do i code it na it will also send the content of the "Comment" datafield to an email address stored in my database (sql)?
<asp:HyperLinkField DataNavigateUrlFields="CommentID" DataNavigateUrlFormatString="ViewHistory.aspx?Comm entID={0}"
Text="View History" />
</Columns>
</asp:GridView>