<%@ Page Title="标签数据源选择" Language="C#" MasterPageFile="~/Others/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="TemplateLabelDataEdit.aspx.cs" Inherits="Web.Admin.Contents.CustomerTemplate.TemplateLabelDataEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="AdminContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentCenter" runat="server">
    <form id="form1" runat="server">
        <div id="Step2" runat="server">
            <!--step 2 如文本类型将跳过这一步-->
            <div class="formtextfield">
                <div class="title">
                    <h4><span>数据源选择</span></h4>
                </div>
                
                <div class="content">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="fieldname">系统预定义:</td>
                            <td class="fieldvalue">
                                <asp:RadioButton ID="rdbSystem" GroupName="DataSelected" Text="选择" runat="server" Checked="true"/>
                                <asp:DropDownList ID="SystemData" runat="server" DataTextField="MethodName" DataValueField="MethodName"></asp:DropDownList>
                            </td>
                            <td class="fielddescription">预定义函数的参数请参数相关文档,使用标签时需要显式列出全部参数</td>
                        </tr>
                        <tr>
                            <td class="fieldname">SQL语句查询:</td>
                            <td class="fieldvalue">
                                <asp:RadioButton ID="rdbSql" GroupName="DataSelected" Text="选择" runat="server" />
                                <asp:TextBox ID="Sql" runat="server" TextMode="MultiLine" Rows="5" Columns="50"></asp:TextBox>
                            &nbsp;</td>
                            <td class="fielddescription">参数以"@参数名"格式写在sql中,参数名需要与标签中的名称一致</td>
                        </tr>
                        <tr>
                            <td class="fieldname">&nbsp;</td>
                            <td class="fieldvalue" colspan="2">
                                <asp:Button ID="btnLabelDataNextStep" runat="server" Text="下一步" CssClass="btn btngreen" OnClick="btnLabelDataNextStep_Click" />
                                &nbsp;&nbsp;
                               <asp:Button ID="btnCancel" runat="server" Text="取消" CssClass="btn btnred" CausesValidation="false" OnClick="btnCancel_Click" />
                            </td>
                        </tr>
                        
                    </table>
                </div>
            </div>
        </div>
    </form>
</asp:Content>
