<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ConvertLevel2.aspx.cs" Inherits="ConvertApp.ConvertLevel2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
    <div class="" style="font-size: 16px; font-weight: bold; letter-spacing: 1px; font-family: 'Orienta', sans-serif; line-height: 1.142857; color: blue; background-color: #eeeeee; padding-top: 10px; padding-bottom: 10px; padding-right: 60px; padding-left: 60px; border-radius: 6px">
        Convert
    </div>

    <div class="jumbotron" style="min-height: 500px">      
        <div class="row">
            <div class="col-md-2">
                <p style="font-weight: bold; font-size: 12px">Select Business Process</p>
                <p style="font-size: 13px">
                    <asp:DropDownList ID="DropDownListBusProc" runat="server" OnSelectedIndexChanged="DropDownListBusProc_SelectedIndexChanged" CssClass="form-control" AutoPostBack="true"></asp:DropDownList>
                </p>
            </div>
            <div class="col-md-2">
                <p style="font-weight: bold; font-size: 12px">Select Program</p>
                <p style="font-size: 13px">
                    <asp:DropDownList ID="DropDownListProg" runat="server" CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="DropDownListProg_SelectedIndexChanged"></asp:DropDownList>
                </p>
            </div>
            <div class="col-md-2">
                <asp:Button ID="Button1" runat="server" Text="GO" class="btn btn-primary" Style="margin-top: 25px;" OnClick="Button1_Click" />
            </div>
        </div>
        <div id="divMsg" runat="server" class="row" style="border: 1px outset black; background-color: silver; color: black; text-align: center; height: 30px; font-size: 14px; font-weight: bold;" visible="false">
            Script Submitted.
        </div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Font-Size="12px" CssClass="table card-table table-striped table-vcenter text-nowrap" ShowHeader="true">
            <Columns>
                <asp:TemplateField HeaderText="SQL NO">
                    <ItemTemplate>
                        <asp:Label ID="lblsqlno" class="text-inherit" runat="server" Text='<%# Bind("lvl2_sql_no") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="SQL TYPE">
                    <ItemTemplate>
                        <asp:Label ID="lblsqltype" class="text-inherit" runat="server" Text='<%# Bind("lvl2_sql_type") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="SQL TEXT">
                    <ItemTemplate>
                        <asp:Label ID="lblsqltext" class="text-inherit" runat="server" Text='<%# Bind("lvl2_program_text") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:LinkButton ID="btn_Edit" runat="server" CommandName="Edit" ToolTip="Edit"><i class="fa fa-pencil"></i></asp:LinkButton>&nbsp;&nbsp;
                    </ItemTemplate>

                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
