此代码中的payeeName单元格是什么

此代码中的payeeName单元格是什么

本文介绍了此代码中的payeeName单元格是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" DataKeyNames="CNo"

 Width="100%" CellPadding="4" ForeColor="#333333" GridLines="Vertical"

 OnSelectedIndexChanged="GridView1_SelectedIndexChanged"

 ><AlternatingRowStyle BackColor="White" /><Columns>
 <asp:BoundField DataField="CNo" HeaderText="CNo" ReadOnly="True"></asp:BoundField>
 <asp:BoundField DataField="Consigner" HeaderText="Consigner"></asp:BoundField>
 <asp:BoundField DataField="Consignee" HeaderText="Consignee"></asp:BoundField>
 <asp:BoundField DataField="RptDt" HeaderText="Date" DataFormatString="{0:MM/dd/yy}"></asp:BoundField>
 <asp:BoundField DataField="BiltyFrm" HeaderText="BiltyFrm"></asp:BoundField>
 <asp:BoundField DataField="BiltyTo" HeaderText="BiltyTo"></asp:BoundField>
 <asp:BoundField DataField="InvoiceNo" HeaderText="InvoiceNo"></asp:BoundField>
 <asp:BoundField DataField="NoOfPackages" HeaderText="NoOfPkg"></asp:BoundField>
 <asp:BoundField DataField="ChargedWt" HeaderText="ChargeWt"></asp:BoundField>
 <asp:BoundField DataField="RatePerKg" HeaderText="RtPerKg"></asp:BoundField>
 <asp:BoundField DataField="Total" HeaderText="TotalFright"></asp:BoundField>
 <asp:BoundField DataField="PayDetails" HeaderText="PayDetails"></asp:BoundField>
 <asp:BoundField DataField="PaidBy" HeaderText="PaidBy"></asp:BoundField>
 <asp:BoundField DataField="PaidAmt" HeaderText="PaidAmt"></asp:BoundField>
 <asp:BoundField DataField="PendingAmt" HeaderText="PendingAmt"></asp:BoundField>
<%-- <asp:BoundField DataField="PayeeName" HeaderText="PayeeName"></asp:BoundField>--%>
 <asp:TemplateField HeaderText="PayAmt">
 <ItemTemplate>
 <asp:TextBox ID="txtPayAmt" runat="server" ReadOnly="false" Width="100px"

             Onkeypress="return isNumberKey()" ></asp:TextBox>
  </ItemTemplate>
 </asp:TemplateField>
           <asp:TemplateField HeaderText="PayMode">
           <ItemTemplate>
           <asp:DropDownList ID="drpdwnPayMode" runat="server"

                         OnSelectedIndexChanged="drpdwnPayMode_SelectedIndexChanged" AutoPostBack="true">
                         <asp:ListItem>Select</asp:ListItem>
                         <asp:ListItem Value="Cash">Cash</asp:ListItem>
             <asp:ListItem Value="Check">Cheque</asp:ListItem></asp:DropDownList>
             </ItemTemplate>
             </asp:TemplateField>
             <asp:TemplateField HeaderText="CheckNo."><ItemTemplate>
             <asp:TextBox ID="txtCheckNo" runat="server" ReadOnly="false" Width="100px"

             Onkeypress="return isNumberKey()" Visible="false"></asp:TextBox></ItemTemplate>
             </asp:TemplateField>
             <asp:TemplateField HeaderText="Payment"><ItemTemplate>
             <asp:CheckBox ID="chkPay" runat="server" OnCheckedChanged="chkPay_CheckChanged" Text="Pay"

                 AutoPostBack="true" /></ItemTemplate>
             </asp:TemplateField>
             <asp:TemplateField HeaderText="PayeeName">
             <ItemTemplate>
                 <asp:TextBox ID="txtPayeeName" runat="server" TextMode ="MultiLine" Text='<%# Bind("PayeeName") %>'>
             </asp:TextBox>

             </ItemTemplate>
             </asp:TemplateField>
             <asp:BoundField DataField="status" HeaderText="Status">
             </asp:BoundField>
             </Columns><EditRowStyle BackColor="#2461BF" />
             <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
             <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
             <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
             <RowStyle BackColor="#EFF3FB" /><SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
             </asp:GridView>

推荐答案


这篇关于此代码中的payeeName单元格是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 18:24