selvi subramanian

selvi subramanian

  • NA
  • 799
  • 574.7k

error in multiview

Jul 4 2014 4:48 AM
my view2 is
<asp:View ID="View2" runat="server">
<table style="color:White; width:999px;" >
<tr><td style="margin-left: 180px; background:white;" colspan="2" align="center">
<asp:Label ID="Label9" runat="server" Text="Salary Advance" Font-Bold="True" Font-Italic="True" Font-Size="Large" Font-Strikeout="False" Font-Underline="True" ForeColor="#003300" Font-Names="Bell MT"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="rdate" runat="server" ForeColor="Black" ></asp:Label></td></tr>
<tr><td ><asp:Label ID="Label10" runat="server" Text="ID" ForeColor="White"></asp:Label></td><td >
<asp:TextBox ID="rtid" runat="server" AutoPostBack="True"
ontextchanged="rtid_TextChanged"></asp:TextBox></td></tr>
<tr><td ><asp:Label ID="Label11" runat="server" Text="Present Day Salary" ForeColor="White"></asp:Label></td><td >
<asp:TextBox ID="rprdy" runat="server" AutoPostBack="True"
ontextchanged="rprdy_TextChanged"></asp:TextBox></td></tr>
<tr><td ><asp:Label ID="Label12" runat="server" Text="Advance" ForeColor="White"></asp:Label></td><td >
<asp:TextBox ID="txradv" runat="server" AutoPostBack="True"
ontextchanged="txradv_TextChanged"></asp:TextBox> </td></tr>
<tr><td ><asp:Label ID="Label13" runat="server" Text="Remaining"></asp:Label></td><td >
<asp:TextBox ID="rtxremain" runat="server" ReadOnly="True"></asp:TextBox></td></tr>
<tr><td ><asp:Label ID="Label14" runat="server" Text="Extra Amount"></asp:Label></td><td >
<asp:TextBox ID="rtxexces" runat="server" ReadOnly="True"></asp:TextBox></td></tr>
<tr><td > <asp:Button ID="savebb" runat="server" Height="24px" Text="Save" Width="90px" onclick="savebb_Click" /> <asp:Label ID="selvi" runat="server"></asp:Label> </td> <td align="right">
<asp:Button ID="printbutn" runat="server" Height="24px" Text="Print"
Width="90px" onclick="printbutn_Click" onclientclick="return PrintPanel();" />
</td>
</tr>
<tr>
<td >
&nbsp;</td>
<td >
&nbsp;</td>
</tr>
</table>
</asp:View>
if i enter the value in view2 i need to take the print the id and its value to fetch from the database
this is my view3
<asp:View ID="View3" runat="server">
<table id="printtbl" style="border-style: groove; border-width: thin; background-color: Black;" align="center" width="50%">
<caption><br /> <asp:Label ID="Label15" runat="server" Font-Bold="True" Font-Size="X-Large" ForeColor="#1D599E" Text="Bramandam Family Shop"></asp:Label> <br />
<asp:Label ID="Label43" runat="server" Font-Bold="True" Font-Size="X-Large" ForeColor="#1D599E" Text="Cash Voucher"></asp:Label><asp:Label ID="Label57" runat="server" Font-Bold="True" Font-Size="X-Large" ForeColor="#1D599E"></asp:Label> </caption>
<tr><td align="right" colspan="2">&nbsp;<asp:Label ID="Label16" runat="server" Text="Date" ForeColor="White"></asp:Label>
&nbsp;&nbsp;&nbsp; <asp:Label ID="Label17" runat="server" ForeColor="White"></asp:Label></td></tr>
<tr><td align="center">
<asp:Label ID="Label26" runat="server" Text="ID" ForeColor="White" Width="70px"></asp:Label>&nbsp; </td><td >
&nbsp;&nbsp;&nbsp; <asp:Label ID="Label27" runat="server" ForeColor="White"></asp:Label></td></tr>
<tr><td align="center" class="style1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="Label18" runat="server" Text="Section" ForeColor="White"></asp:Label></td>
<td class="style1">&nbsp;&nbsp; <asp:Label ID="Label19" runat="server" ForeColor="White"></asp:Label></td></tr>
<tr><td align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label20" runat="server" Text="Details" ForeColor="White"></asp:Label></td><td >
&nbsp;&nbsp; <asp:Label ID="Label21" runat="server" ForeColor="White"></asp:Label></td></tr>
<tr><td align="center">&nbsp;&nbsp;
<asp:Label ID="Label22" runat="server" Text="Cash" ForeColor="White"></asp:Label></td><td >
&nbsp;&nbsp; <asp:Label ID="Label25" runat="server" ForeColor="White"></asp:Label></td></tr>
<tr><td colspan="2" ><asp:Label ID="Label23" runat="server" Text="Cashier" ForeColor="White"></asp:Label></td></tr>
<tr><td colspan="2" align="right"><asp:Label ID="Label24" runat="server" Text="Signature" ForeColor="White"></asp:Label></td></tr>
</table>
</asp:View>