Hi,
I want to get data from formview. How can i get value of B into my code behind?
Thanks in advance
Best Regards
I want to get data from formview. How can i get value of B into my code behind?
Thanks in advance
Best Regards
VB.NET:
<asp:FormView ID="eformView" runat="server" DataSourceID="eformdetails" CellPadding="4"
ForeColor="#333333" Height="194px" Style="margin-top: 0px" Width="437px">
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<HeaderTemplate>
<%# Eval("A")%>
</HeaderTemplate>
<ItemTemplate>
<table width="100%" cellpadding="5" align="left" bgcolor="whitesmoke">
<tr>
<td>
<table cellpadding="5">
<tr>
<td>
<b>B:</b>
<%# Eval("B")%><br>
<b>C:</b>
<%# Eval("C")%><br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</ItemTemplate>
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
</asp:FormView>