Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi to all,
Here i m using formview i have a dropdown for selecting the customer if i select the customer it fetch customer details along with customer pending bills. now i got fetching customer details but i cant fetch pending bills.if i select another selected index changed then it will fire and bring customer bills.


<pre lang="xml">
<table>
<tr>
<td>
selected index for customer
</td>
<tr>
</table>
</pre


Pending bill design view:-
C#
<table>
<tr>
<td>
<table>
<tr>
<td>
<div>
<asp:GridView>
here i bind all pending bill for selected customer.
  </asp:GridView>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
Posted
Updated 1-Apr-15 21:59pm
v2
Comments
DamithSL 2-Apr-15 4:13am    
unclear, please elaborate on your problem. clearly explain, what is not working and when it is not working, also include the c# code samples related to your issue.
JOTHI KUMAR Member 10918227 2-Apr-15 4:32am    
simple how i visible gridview when selected index changed

<tr id="Tr1" runat="server" visible="false">
<td colspan="6">
<table style="width: 100%; border: 1px solid gray" >
<tr>
<td>
<asp:Panel ID="Panel5"
Width="100%" runat="server">
<div id="div2" runat="server" style="height: 100px; overflow: scroll">
<asp:UpdatePanel ID="UpdatePanel12" runat="server" UpdateMode="Conditional">
<contenttemplate>
<asp:GridView >




</div>

</td>
</tr>
</table>
</td>
</tr>
DamithSL 2-Apr-15 4:43am    
what have you tried so far?
JOTHI KUMAR Member 10918227 2-Apr-15 5:33am    
here i give that tr id and make it as visible as true
when selected index click
Sinisa Hajnal 2-Apr-15 6:09am    
You say you can't fetch customer bills, but don't describe what happens. Show us C# (server side) code, not html.

Also, be so kind and use Improve question link to add code into the question instead of making huge unreadable comments. Thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900