⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 traceform.aspx

📁 一个房屋中介系统的源码
💻 ASPX
字号:
<%--文件名:TraceForm.aspx--%>
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="TraceForm.aspx.cs" Inherits="ContractManage_TraceForm" Title="当前位置:成交管理->经纪跟进管理"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 556px; height: 161px">
        <tr>
            <td align="left" style="font-size: 0.8em; width: 2232px; font-family: 宋体; height: 16px;
                background-color: darkturquoise">
                &nbsp;请输入需要查询经纪跟进的资料类型:<asp:TextBox ID="TextBox1" runat="server" Width="121px">%%</asp:TextBox>
                资料编号:<asp:TextBox ID="TextBox2" runat="server" Width="113px">%%</asp:TextBox><br />
                &nbsp;经办人员:<asp:TextBox ID="TextBox3" runat="server" Width="139px">%%</asp:TextBox>&nbsp;
                <asp:Button ID="Button1" runat="server" Text="查询" Width="100px" />
                <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="新增" Width="100px" />
                <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="修改" Width="100px" />
            </td>
        </tr>
        <tr>
            <td align="left" style="font-size: 0.8em; width: 2232px; font-family: 宋体; height: 141px;
                background-color: palegoldenrod" valign="top">
                &nbsp;经办人员:<asp:DropDownList ID="DropDownList1" runat="server" Width="62px">
                </asp:DropDownList>
                资料类型:<asp:DropDownList ID="DropDownList2" runat="server" Width="73px">
                    <asp:ListItem>出售房源</asp:ListItem>
                    <asp:ListItem>出租房源</asp:ListItem>
                    <asp:ListItem>求购客源</asp:ListItem>
                    <asp:ListItem>求租客源</asp:ListItem>
                </asp:DropDownList>
                资料编号:<asp:TextBox ID="TextBox6" runat="server" Width="61px"></asp:TextBox>
                跟进日期:<asp:TextBox ID="TextBox7" runat="server" Width="52px">2007-5-1</asp:TextBox><br />
                &nbsp;跟进方式:<asp:DropDownList ID="DropDownList3" runat="server" Width="73px">
                </asp:DropDownList>&nbsp; 补充说明:<asp:TextBox ID="TextBox10" runat="server" Width="215px">暂无</asp:TextBox>
                自编号:<asp:TextBox ID="TextBox4" runat="server" BackColor="#E0E0E0" ReadOnly="True"
                    Width="38px"></asp:TextBox><br />
                &nbsp;跟进内容:<asp:TextBox ID="TextBox9" runat="server" Height="84px" TextMode="MultiLine"
                    Width="470px"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="width: 2232px; height: 50px; background-color: gainsboro">
                <asp:Panel ID="Panel1" runat="server" Height="150px" ScrollBars="Auto" Width="553px">
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyHouseDBConnectionString %>"
                        DeleteCommand="DELETE FROM [经纪跟进] WHERE [自编号] = @自编号" InsertCommand="INSERT INTO [经纪跟进] ([经办人员], [资料类型], [资料编号], [跟进日期], [跟进方式], [跟进内容], [补充说明]) VALUES (@经办人员, @资料类型, @资料编号, @跟进日期, @跟进方式, @跟进内容, @补充说明)"
                        SelectCommand="SELECT * FROM [经纪跟进] WHERE (([资料编号] LIKE '%' + @资料编号 + '%') AND ([经办人员] LIKE '%' + @经办人员 + '%') AND ([资料类型] LIKE '%' + @资料类型 + '%'))"
                        UpdateCommand="UPDATE [经纪跟进] SET [经办人员] = @经办人员, [资料类型] = @资料类型, [资料编号] = @资料编号, [跟进日期] = @跟进日期, [跟进方式] = @跟进方式, [跟进内容] = @跟进内容, [补充说明] = @补充说明 WHERE [自编号] = @自编号">
                        <DeleteParameters>
                            <asp:Parameter Name="自编号" Type="Int32" />
                        </DeleteParameters>
                        <UpdateParameters>
                            <asp:ControlParameter ControlID="DropDownList1" Name="经办人员" PropertyName="SelectedValue"
                                Type="String" />
                            <asp:ControlParameter ControlID="DropDownList2" Name="资料类型" PropertyName="SelectedValue"
                                Type="String" />
                            <asp:ControlParameter ControlID="TextBox6" Name="资料编号" PropertyName="Text" Type="String" />
                            <asp:ControlParameter ControlID="TextBox7" Name="跟进日期" PropertyName="Text" Type="DateTime" />
                            <asp:ControlParameter ControlID="DropDownList3" Name="跟进方式" PropertyName="SelectedValue"
                                Type="String" />
                            <asp:ControlParameter ControlID="TextBox9" Name="跟进内容" PropertyName="Text" Type="String" />
                            <asp:ControlParameter ControlID="TextBox10" Name="补充说明" PropertyName="Text" Type="String" />
                            <asp:ControlParameter ControlID="TextBox4" Name="自编号" PropertyName="Text" Type="Int32" />
                        </UpdateParameters>
                        <SelectParameters>
                            <asp:ControlParameter ControlID="TextBox2" Name="资料编号" PropertyName="Text" Type="String" />
                            <asp:ControlParameter ControlID="TextBox3" Name="经办人员" PropertyName="Text" Type="String" />
                            <asp:ControlParameter ControlID="TextBox1" Name="资料类型" PropertyName="Text" Type="String" />
                        </SelectParameters>
                        <InsertParameters>
                            <asp:ControlParameter ControlID="DropDownList1" Name="经办人员" PropertyName="SelectedValue"
                                Type="String" />
                            <asp:ControlParameter ControlID="DropDownList2" Name="资料类型" PropertyName="SelectedValue"
                                Type="String" />
                            <asp:ControlParameter ControlID="TextBox6" Name="资料编号" PropertyName="Text" Type="String" />
                            <asp:ControlParameter ControlID="TextBox7" Name="跟进日期" PropertyName="Text" Type="DateTime" />
                            <asp:ControlParameter ControlID="DropDownList3" Name="跟进方式" PropertyName="SelectedValue"
                                Type="String" />
                            <asp:ControlParameter ControlID="TextBox9" Name="跟进内容" PropertyName="Text" Type="String" />
                            <asp:ControlParameter ControlID="TextBox10" Name="补充说明" PropertyName="Text" Type="String" />
                        </InsertParameters>
                    </asp:SqlDataSource>
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White"
                        BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataKeyNames="自编号"
                        DataSourceID="SqlDataSource1" Font-Names="宋体" Font-Size="Small" GridLines="Vertical"
                        OnRowCreated="GridView1_RowCreated" OnSelectedIndexChanged="GridView1_SelectedIndexChanged"
                        Width="1500px">
                        <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                        <Columns>
                            <asp:CommandField ButtonType="Button" HeaderText="选择" ShowSelectButton="True" />
                            <asp:TemplateField HeaderText="删除" ShowHeader="False">
                                <ItemTemplate>
                                    <asp:Button ID="Button1" runat="server" CausesValidation="False" CommandName="Delete"
                                        Text="删除" />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="自编号" HeaderText="自编号" InsertVisible="False" ReadOnly="True"
                                SortExpression="自编号" />
                            <asp:BoundField DataField="经办人员" HeaderText="经办人员" SortExpression="经办人员" />
                            <asp:BoundField DataField="资料类型" HeaderText="资料类型" SortExpression="资料类型" />
                            <asp:BoundField DataField="资料编号" HeaderText="资料编号" SortExpression="资料编号" />
                            <asp:BoundField DataField="跟进日期" HeaderText="跟进日期" SortExpression="跟进日期" />
                            <asp:BoundField DataField="跟进方式" HeaderText="跟进方式" SortExpression="跟进方式" />
                            <asp:BoundField DataField="跟进内容" HeaderText="跟进内容" SortExpression="跟进内容" />
                            <asp:BoundField DataField="补充说明" HeaderText="补充说明" SortExpression="补充说明" />
                        </Columns>
                        <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                        <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" HorizontalAlign="Center" />
                        <AlternatingRowStyle BackColor="#DCDCDC" />
                    </asp:GridView>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -