dear all
please help me to solve my problem, i think this maybe simple but i dont know why my code got error
i display my data using data grid but i dont know how to make the data visible and unvisible .
the first time the table red was shown, after i click next page the red table was hide and the blue table was shown, how to add the
id for make visibel or unvisible ??
any one can help me ??
i already try to using <asp:table> in the middle of this datagrid script but it doesn't work... maybe in datagrid cann't using
asp:table ??
so how?? any one can helpme ??
thanks before.....
<asp:datagrid id="PageDataGrid" runat="server" BorderWidth="0"
CellPadding="0" Font-Name="Verdana"
Font-Size="8pt"
AllowPaging="True"
PageSize="1"
Pagecount="1"
OnPageIndexChanged="dgPopularFAQs_Paged"
AutoGenerateColumns="false"
PagerStyle-Mode="NumericPages"
PagerStyle-HorizontalAlign="center" >
<Columns>
<ItemTemplate>
<table width="530" border="0" cellspacing="0" cellpadding="4">
<tr><td class=kuning bgcolor=2B73D5><%# DataBinder.Eval(Container.DataItem, "ti")
%></td></tr>
<tr><td bgcolor=DCEBFF><span class=materisnapshot><%# DataBinder.Eval(Container.DataItem, "in")
%></span></td></tr>
<tr><td bgcolor=2B73D5 height=1></td></tr>
<tr><td bgcolor=BCCEE7><span class=materisnapshot> <%# DataBinder.Eval(Container.DataItem, "ser")
%><Br><%# DataBinder.Eval(Container.DataItem, "con") %> </span> </td> </tr>
<tr><td> </td></tr>
</TABLE>
<table width="530" border="0" cellspacing="0" cellpadding="4">
<tr><td bgcolor=2B73D5 height=1></td></tr>
<tr><td bgcolor=BCCEE7><span class=materisnapshot> <%# DataBinder.Eval(Container.DataItem, "ser")
%><Br><%# DataBinder.Eval(Container.DataItem, "con") %> </span> </td> </tr>
<tr><td> </td></tr>
</TABLE>
</itemtemplate>
</asp:templatecolumn>
</columns>
</asp:datagrid>