Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32217

I want the bulk data print on dropdownlist search/Selection

$
0
0
  • Hello all,
hope you all are doing well,
I need help once again actually, I want the bulk data print (one by one all data from DB on dropdownlist Search/selection)from DataBase on dropdown select event....without gridview display only want print out in fixed format..Directly from Data Base.


Any body can help me please...I would  be gratful..!!






HTML Designing Code:( .aspx page)





<section id="content_main">
<!--Content Center Align Starts Here -->
<div class="center">
<h2>Search & Print Audtion</h2>

<p><asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager></p>



<!---table start -->
<table style=" margin-left:13px; margin-top:5px; width:639px; height:233px;" >




<tr>
<td class="style18">Search by Unique ID</td>
<td class="style19">
<asp:TextBox ID="TextBox3" runat="server" style="height:20px; width:170px; " Font-Size="Small" ForeColor="Black"></asp:TextBox>
</td>
<td class="style18">By Name</td>
<td class="style20">
<asp:TextBox ID="TextBox4" runat="server" style="height:20px; width:170px; " Font-Size="Small" ForeColor="Black"></asp:TextBox>
</td>
</tr>




<tr>
<td class="style18">By Date <span style="float:right; margin-top:2px;"> From </span></td>
<td class="style19">
<asp:TextBox ID="TextBox1" runat="server" style="height:20px; width:170px; " Font-Size="Small" ForeColor="Black" ></asp:TextBox>
<asp:CalendarExtender TargetControlId="TextBox1"  ID="CalendarExtender1"  runat="server" ></asp:CalendarExtender>
</td>


<td class="style18">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To</td>
<td class="style20">
<asp:TextBox ID="TextBox2" runat="server" style="height:20px; width:170px; " Font-Size="Small" ForeColor="Black" ></asp:TextBox>
<asp:CalendarExtender TargetControlId="TextBox2"  ID="TextBox2_CalendarExtender"  runat="server" ></asp:CalendarExtender>
</td>


</tr>




<tr>
<td class="style18">By State</td>
<td class="style19">
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" onselectedindexchanged="DropDownList1_SelectedIndexChanged" Width="170" ForeColor="Black" Height="20px" ></asp:DropDownList>
<%--<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="State" ControlToValidate="DropDownList1"></asp:RequiredFieldValidator>--%>
</td>
<td class="style18">District / Center </td>
<td class="style20">
<asp:DropDownList ID="DropDownList2" runat="server" Width="170" onselectedindexchanged="DropDownList2_SelectedIndexChanged" ForeColor="Black" Height="20px" ></asp:DropDownList>
</td>
</tr>


<%--<tr>
<td class="style18"></td>


<td class="style19">
<asp:ImageButton ID="ImageButton1" runat="server" 
        ImageUrl="~/images/admin/search.png"></asp:ImageButton>
</td>
<td class="style19">
<asp:ImageButton ID="ImageButton2" runat="server" 
        ImageUrl="~/images/admin/export.png"></asp:ImageButton>
</td>


<td class="style18"></td>
</tr>--%>


</table>
<!-- table end -->


<div style="margin-left:170px; margin-top:20px; height:38px; width:400px;">
<asp:ImageButton ID="ImageButton1" runat="server" Height="33px" Width="149px" ImageUrl="~/images/admin/search.png" ></asp:ImageButton>


<div style="float:right; height:35px; width:151px; margin-right:50px;">
<asp:ImageButton ID="ImageButton2" runat="server" Height="33px" Width="149px" ImageUrl="~/images/admin/export.png"></asp:ImageButton>
</div>
</div>




</div>








<!--Content Center Align Ends Here -->

</section>



See Attached design page



Viewing all articles
Browse latest Browse all 32217

Trending Articles