01.
<asp:GridView ID=
"GridView2"
runat=
"server"
Width=
"100%"
AutoGenerateColumns=
"False"
02.
ForeColor=
"#333333"
PageSize=
"5"
CellPadding=
"1"
GridLines=
"None"
03.
BorderStyle=
"Solid"
ShowHeader=
"False"
Font-Size=
"Small"
EnableViewState=
"False"
>
04.
<RowStyle BackColor=
"#EFF3FB"
/>
05.
<Columns>
06.
<asp:TemplateField>
07.
<ItemTemplate>
08.
<asp:Table ID=
"Table3"
runat=
"server"
CellPadding=
"0"
CellSpacing=
"0"
>
09.
<asp:TableRow>
10.
<asp:TableCell Width=
"100px"
VerticalAlign=
"Middle"
HorizontalAlign=
"Center"
>
11.
<a href=
"friendszone/_viewfriendsDetail.aspx?oo=detail&mm=<%# Container.DataItem("
ID
")%>"
target=
"_blank"
>
12.
<%#CHKImagem(Container.DataItem(
"Pic"
))%></a>
13.
<br />
14.
<a href=
"friendszone/_viewfriendsDetail.aspx?oo=detail&mm=<%# Container.DataItem("
ID
")%>"
target=
"_blank"
>แสดงความคิดเห็น</a>
15.
</asp:TableCell> <asp:TableRow>
16.
</asp:Table>
17.
</ItemTemplate>
18.
</asp:TemplateField>
19.
</Columns>
20.
</asp:GridView>