• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 476
  • Last Modified:

Datagrid paging problem? URGENT QUESTION...

I have the following table, followed by the code:
tbparameters
    CM_REF PM_NAME            PM_TYPE PM_DIRECTION  PM_LENGTH PM_CONTENT                                           PM_INDEX PM_DESCRIPTION
---------- --------------- ---------- ------------ ---------- -------------------------------------------------- ---------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
         1 pm_ServNb                8            1          8                                                             1 Input service number
         2 pm_AccNB                 8            1         12                                                             1 Input account number
         3 pm_LastName              8            1         50                                                             1 Input last name
         5 pm_Username              8            1         32                                                             1 Username field
         4 pm_FirstName             8            1         50                                                             1 Input first name
         5 pm_Password              8            1         40                                                             2 Password field
         6 pm_PaymNb                8            1         10                                                             1 Payment number field
         6 pm_CashNb                8            1          8                                                             2 Cashier number field
         6 pm_Date                  8            1         19                                                             3 Receipt date field
         6 pm_Data                  8            1       2500                                                             4 Receipt data
         7 pm_PaymNb                8            1         10                                                             1 Payment number field for tbreceipts



I am missing something. It basically does not tell me there is no page 2. I cannot figure the problem out.

<%@ Register TagPrefix="uc1" TagName="logout" Src="Engine/Controls/logout.ascx" %>
<%@ import namespace="System.Web.UI" %>
<%@ import namespace="System.Web.SessionState" %>
<%@ import namespace="System.Web" %>
<%@ import namespace="System.Drawing" %>
<%@ import namespace="System.ComponentModel" %>
<%@ import namespace="System.Collections" %>
<%@ import namespace="System.Text" %>
<%@ import namespace="System.Data" %>
<%@ Import Namespace="System.Data.Odbc" %>
<%@ Register TagPrefix="mspos" TagName="header" Src="Engine/Controls/header.ascx" %>
<%@ Register TagPrefix="mspos" TagName="footer" Src="~/Engine/Controls/footer.ascx" %>
<HTML>
<HEAD>
<title>Users Interface to Managing Adminitrators</title>
<meta content="True" name="vs_snapToGrid">
<script language="C#" runat="server">
private DataSet ddlDataSet = new DataSet();
private OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");
private DataSet ddlDataSet1 = new DataSet();
private DataSet ddlDataSet2 = new DataSet();
private string CommandID;          



//*********************************************************************
// Get TBDATATYPE and populate dataset with DT_REF and DT_DESCRIPTION  
public DataSet BindTBDATATYPE()
{
          OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");

          // Populate the ddlDataSet1
          myConnection.Open();
          const string strSQLDDL = @"SELECT DT_REF, DT_DESCRIPTION FROM TBDATATYPE ORDER BY DT_REF";
          OdbcDataAdapter myDataAdapter = new OdbcDataAdapter(strSQLDDL, myConnection);
          ddlDataSet1.Clear();  
          myDataAdapter.Fill(ddlDataSet1, "ddlDATATYPE");
          myDataAdapter.Dispose();
          myDataAdapter = null;
          myConnection.Close();
          return ddlDataSet1;
}
//***********************************************************************



//***********************************************************************
// Get TBPARAMDIRECTION and populate dataset with PD_REF and PD_DESCRIPTION
public DataSet BindTBPARAMDIRECTION()
{
          OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");

          // Populate the ddlDataSet2
          myConnection.Open();
          const string strSQLDDL = @"SELECT PD_REF, PD_DESCRIPTION FROM TBPARAMDIRECTION ORDER BY PD_REF";
          OdbcDataAdapter myDataAdapter = new OdbcDataAdapter(strSQLDDL, myConnection);
          ddlDataSet2.Clear();  
          myDataAdapter.Fill(ddlDataSet2, "ddlPARAMDIRECTION");
          myDataAdapter.Dispose();
          myDataAdapter = null;
          myConnection.Close();
          return ddlDataSet2;
}
//***********************************************************************


 
//****************************************************************
protected void Page_Load(object sender, System.EventArgs e)
{
     if (!Page.IsPostBack)
     {
          BindData();
     }
}
//****************************************************************



//****************************************************************
private void BindData()
{
     OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");
    myConnection.Open();
       
    // get records from the table
    string commandString = @"SELECT GET_DT_TBDATATYPE(PM_TYPE) AS TYPENAME, GET_PD_TBPARAMDIRECTION(PM_DIRECTION) AS DIRECTIONNAME, CM_REF, PM_INDEX, PM_NAME, PM_DESCRIPTION, PM_TYPE AS DT_REF, PM_CONTENT, PM_DIRECTION AS PD_REF, PM_LENGTH  FROM TBPARAMETERS ORDER BY CM_REF";    
     // Set the datagrid's datasource to the datareader and databind
    // Create a OdbcCommand object and assign the connection connect to the database
    OdbcCommand command = myConnection.CreateCommand( );
    command.CommandText = commandString;
    command.Connection = myConnection;
     // Create the Reader and bind it to the datagrid
    OdbcDataReader reader =  command.ExecuteReader(CommandBehavior.CloseConnection);
    DataGridUserManagementID.DataSource=reader;
    DataGridUserManagementID.DataBind();
     reader.Close();
     reader=null;
    myConnection.Dispose();
     myConnection.Close();
         
}
//****************************************************************


//************************************************************
private void DataGridUserManagementID_SelectedIndexChanged(object sender, System.EventArgs e)
{
     int intCount;
     for (intCount = 1; intCount <= DataGridUserManagementID.Items.Count; intCount ++)
         DataGridUserManagementID.Items[intCount - 1].BorderStyle =  BorderStyle.Groove;

     DataGridUserManagementID.SelectedItem.BorderStyle = BorderStyle.Dashed;
}
//************************************************************



//****************************************************************
private void DataGridUserManagementID_Delete(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
   
  // Get the CommandID of the row whose Delete button was clicked
   string strCommandID = ((Label)e.Item.FindControl("lblCommandID")).Text;
   int SelectedCommandID = Convert.ToInt32(strCommandID);
   string strSQL = "Delete from TBPARAMETERS where CM_REF ='"+ SelectedCommandID +"'";
   ExecuteQuery(strSQL);
     
   DataGridUserManagementID.EditItemIndex = -1;
   BindData();
}
//****************************************************************



//***************************************************************
private int ExecuteQuery(string sqlCmd)
{
   // Create a OdbcCommand object and assign the connection connect to the database
   OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");
   myConnection.Open();
   OdbcCommand command = myConnection.CreateCommand( );
   command.CommandText = sqlCmd;
   command.Connection = myConnection;
   return command.ExecuteNonQuery();
}
//***************************************************************



//***************************************************************
private void DataGridUserManagementID_Update(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
    // Determine what store was selected
    string strTypeID, strType, strDirectionID, strDirection;
    string cmd;
     string CommandID, strCommandID, strDescription, strName, strTimeout, strContent, strLength;    
    ///... declarations for remaining data fields
    CommandID = Session["CommandID"].ToString();
     strCommandID = ((TextBox)e.Item.FindControl("editCommandID")).Text;
    strDescription = ((TextBox)e.Item.FindControl("editDescription")).Text;
    strName = ((TextBox)e.Item.FindControl("editName")).Text;
     strContent = ((TextBox)e.Item.FindControl("editContent")).Text;
     strLength = ((TextBox)e.Item.FindControl("editLength")).Text;
    strTypeID = ((DropDownList)(e.Item.FindControl("ddlDATATYPE"))).SelectedItem.Value;
       strType = ((DropDownList)(e.Item.FindControl("ddlDATATYPE"))).SelectedItem.Text;
    strDirectionID = ((DropDownList)(e.Item.FindControl("ddlPARAMDIRECTION"))).SelectedItem.Value;
    strDirection = ((DropDownList)(e.Item.FindControl("ddlPARAMDIRECTION"))).SelectedItem.Text;
     
   
     // form the update statement
    // connect to the database
    if (e.CommandName == "Update")    
     {
          string strsql;
         
          if (CommandID != strCommandID)
               cmd = "Update TBPARAMETERS Set CM_REF='"+ strCommandID +"', PM_NAME ='"+ strName +"', PM_TYPE ='"+ strTypeID +"', PM_DIRECTION = '"+ strDirectionID +"', PM_LENGTH='"+ strLength +"', PM_CONTENT='"+ strTypeID +"', PM_INDEX='"+ strDirectionID +"', PM_DESCRIPTION='"+ strDescription +"' Where CM_REF = "+ CommandID +"";
              else
                  cmd = "Update TBPARAMETERS Set CM_REF='"+ CommandID +"', PM_NAME ='"+ strName +"', PM_TYPE ='"+ strTypeID +"', PM_DIRECTION = '"+ strDirectionID +"', PM_LENGTH='"+ strLength +"', PM_CONTENT='"+ strTypeID +"', PM_INDEX='"+ strDirectionID +"', PM_DESCRIPTION='"+ strDescription +"' Where CM_REF = "+ strCommandID +"";
           
            ExecuteQuery(cmd);
            strsql = null;
            Session["CommandID"] = null;
     }
        DataGridUserManagementID.EditItemIndex = -1;
    BindData(  );
   
}
//************************************************************************




//****************************************************************
private void DataGridUserManagementID_Edit(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
     CommandID = ((Label)e.Item.FindControl("lblCommandID")).Text;
    Session["CommandID"] = CommandID;
     DataGridUserManagementID.EditItemIndex = e.Item.ItemIndex;
    BindData();
}
//****************************************************************



//****************************************************************
private void dg_Page(object source, DataGridPageChangedEventArgs e)
{
     DataGridUserManagementID.CurrentPageIndex = e.NewPageIndex;
    BindData();
}
//****************************************************************




//************************************************************************
protected void DataGridUserManagementID_ItemCreated(Object sender, DataGridItemEventArgs e)
{
     if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem || e.Item.ItemType == ListItemType.EditItem)
     {
          ImageButton btn = (ImageButton)e.Item.FindControl("btnDel");
         btn.Attributes.Add("onclick", "return confirm('Are you sure you want to delete this item.')");
     }
}
//************************************************************************


//******************************************************************************
private void DataGridUserManagementID_ItemDataBound(object sender,
System.Web.UI.WebControls.DataGridItemEventArgs e)
{
    ListItemType oType = ((ListItemType)e.Item.ItemType);
    if(oType == ListItemType.Item || oType == ListItemType.AlternatingItem)
    {
          e.Item.Attributes.Add("onmouseover", "this.style.backgroundColor='lightblue'");            
          e.Item.Attributes.Add("onmouseout", "this.style.backgroundColor='Beige'");            
     }
     
     if ((oType == ListItemType.EditItem))
    {
       
        DropDownList listType =((DropDownList)e.Item.FindControl("ddlDATATYPE"));
         listType.SelectedIndex = listType.Items.IndexOf(listType.Items.FindByText(Convert.ToString(DataBinder.Eval(e.Item.DataItem,"TYPENAME"))));
             
         DropDownList listDirection =((DropDownList)e.Item.FindControl("ddlPARAMDIRECTION"));
        listDirection.SelectedIndex = listDirection.Items.IndexOf(listDirection.Items.FindByText(Convert.ToString(DataBinder.Eval(e.Item.DataItem,"PM_DESCRIPTION"))));
     
    }



}
//***************************************************************


//************************************************************************
protected void DataGridUserManagementID_ItemCommand(object sender, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{

    if (e.CommandName == "Insert")
    {
      // TextBox txtType;
      TextBox txtCommandID, txtParameterIndex, txtName, txtDescription, txtContent, txtLength;
      string strTypeID, strDirectionID;
      txtCommandID = (TextBox)e.Item.FindControl("insertCommandID");
      txtParameterIndex = (TextBox)e.Item.FindControl("insertParameterIndex");
      txtName = (TextBox)e.Item.FindControl("insertName");
      txtDescription = (TextBox)e.Item.FindControl("insertDescription");
      txtContent = (TextBox)e.Item.FindControl("insertContent");
      txtLength = (TextBox)e.Item.FindControl("insertLength");
     
     
      strTypeID = ((DropDownList)(e.Item.FindControl("insertTypes"))).SelectedItem.Value;
      strDirectionID = ((DropDownList)(e.Item.FindControl("insertDirection"))).SelectedItem.Value;
       
       
        // Create the appropriate SQL statement
       StringBuilder strSQL = new StringBuilder("insert into TBPARAMETERS");
       strSQL.Append("(CM_REF, PM_NAME, PM_TYPE, PM_DIRECTION, PM_LENGTH, PM_CONTENT, PM_INDEX, PM_DESCRIPTION)");
       strSQL.Append(" values (");
       strSQL.Append("'").Append(txtCommandID.Text).Append("' ,");
       strSQL.Append("'").Append(txtName.Text).Append("' ,");
       strSQL.Append("'").Append(strTypeID).Append("' ,");
       strSQL.Append("'").Append(strDirectionID).Append("' ,");
       strSQL.Append("'").Append(txtLength.Text).Append("' ,");
       strSQL.Append("'").Append(txtContent.Text).Append("' ,");
       strSQL.Append("'").Append(txtParameterIndex.Text).Append("' ,");
       strSQL.Append("'").Append(txtDescription.Text).Append("' )");
      // call the update and rebind the datagrid
      if ((txtCommandID.Text != "") && (txtName.Text != "") && (txtLength.Text != "") &&
           (txtContent.Text != "") && (txtParameterIndex.Text != "") && (txtDescription.Text != ""))
                  ExecuteQuery(strSQL.ToString());
 
        }
       DataGridUserManagementID.EditItemIndex = -1;
       BindData();
   
}
//************************************************************************


//****************************************************************
private void DataGridUserManagementID_Cancel(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
    DataGridUserManagementID.EditItemIndex = -1;
    BindData();
}
//****************************************************************

public int GetSelectedIndexDATATYPE (string DT_REF)
{  
          int iLoop;
          DataTable dt = ddlDataSet1.Tables["ddlDATATYPE"];
          for (iLoop=0; iLoop < dt.Rows.Count; iLoop++)
          {  
               string srow = dt.Rows[iLoop]["DT_REF"].ToString();
               
               if(srow == DT_REF)
               {
                    return iLoop;
               }  
          };  
          return 0;  
 
}

public int GetSelectedIndexPARAMDIRECTION (string PD_REF)
{  
          int iLoop;
          DataTable dt = ddlDataSet2.Tables["ddlPARAMDIRECTION"];
          for (iLoop=0; iLoop < dt.Rows.Count; iLoop++)
          {  
               string srow = dt.Rows[iLoop]["PD_REF"].ToString();
                   
               if(srow == PD_REF)
               {
                    return iLoop;
               }  
          };  
          return 0;  
 
}

     
          </script>
</HEAD>
<body bgColor="#fef9e9" leftMargin="0" background="images/bg.gif" topMargin="0" marginheigh="0"
          marginwidth="0">
<mspos:header id="header" runat="server"></mspos:header>
<center>
<form id="form1" runat="server">
<TABLE height="380" cellSpacing="0" cellPadding="0" width="100%" border="0" ms_2d_layout="TRUE">
<TR vAlign="top">
<TD>
<!-- Include start of header --------------------------------------------></TD>
<TD></TD>
</TR>
<TR vAlign="top">
<TD></TD>
<TD><asp:datagrid id="DataGridUserManagementID" runat="server" OnDeleteCommand="DataGridUserManagementID_Delete"
                                        OnUpdateCommand="DataGridUserManagementID_Update" OnCancelCommand="DataGridUserManagementID_Cancel"
                                        OnItemDataBound="DataGridUserManagementID_ItemDataBound" OnEditCommand="DataGridUserManagementID_Edit"
                                        OnItemCreated="DataGridUserManagementID_ItemCreated" OnItemCommand="DataGridUserManagementID_ItemCommand"
                                        AllowPaging="True" AllowCustomPaging="True" ShowFooter="True" AutoGenerateColumns="False"
                                        GridLines="None" BorderStyle="Outset" font-size="12px" font-names="arial"
                                        width="449px" PagerStyle-HorizontalAlign="Right" BorderColor="#CCCC99"
                                        BorderWidth="3px" DataKeyField="CM_REF" OnPageIndexChanged="dg_Page">
<FooterStyle Wrap="False" ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
<SelectedItemStyle Font-Bold="True" Wrap="False" HorizontalAlign="Center" ForeColor="#663399" VerticalAlign="Middle"
                                             BackColor="#FFCC66"></SelectedItemStyle>
<EditItemStyle Wrap="False"></EditItemStyle>
<AlternatingItemStyle Wrap="False" BackColor="PaleGoldenrod"></AlternatingItemStyle>
<ItemStyle Wrap="False" BackColor="Beige"></ItemStyle>
<HeaderStyle Font-Bold="True" Wrap="False" ForeColor="White" BackColor="#954896"></HeaderStyle>
<Columns>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="&lt;img src=images/Ok.gif border=0 align=absmiddle alt='Save changes'&gt;"
                                                  CancelText="&lt;img src=images/Cancel.gif border=0 align=absmiddle alt='Cancel editing'&gt;"
                                                  EditText="&lt;img src=images/icn_edit.gif border=0 align=absmiddle alt='Edit this item'&gt;">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:EditCommandColumn>
<asp:TemplateColumn HeaderText="Command ID">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<ItemTemplate>
<asp:Label Text='<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"CM_REF")) %>' Runat="server" ID="lblCommandID">
</asp:Label>
</ItemTemplate>
<FooterStyle Wrap="False"></FooterStyle>
<FooterTemplate>
<asp:TextBox id="insertCommandID" Width="80" runat="server"></asp:TextBox>
</FooterTemplate>
<EditItemTemplate>
<asp:TextBox Runat="server" ID="editCommandID" Text = '<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"CM_REF")) %>' Width="80">
</asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Parameter Index">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<ItemTemplate>
<asp:Label Text='<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_INDEX")) %>' Runat="server" ID="lblParameterIndex">
</asp:Label>
</ItemTemplate>
<FooterStyle Wrap="False"></FooterStyle>
<FooterTemplate>
<asp:TextBox id="insertParameterIndex" Width="100" runat="server"></asp:TextBox>
</FooterTemplate>
<EditItemTemplate>
<asp:TextBox Runat="server" ID="editParameterIndex" Text = '<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_INDEX")) %>' Width="100">
</asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Name">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<ItemTemplate>
<asp:Label Text='<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_NAME")) %>' Runat="server" ID="lblName">
</asp:Label>
</ItemTemplate>
<FooterStyle Wrap="False"></FooterStyle>
<FooterTemplate>
<asp:TextBox id="insertName" Width="110" runat="server"></asp:TextBox>
</FooterTemplate>
<EditItemTemplate>
<asp:TextBox Runat="server" ID="editName" Text = '<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_NAME")) %>' Width="110">
</asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Description">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<ItemTemplate>
<asp:Label Text='<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_DESCRIPTION")) %>' Runat="server" ID="lblDescription">
</asp:Label>
</ItemTemplate>
<FooterStyle Wrap="False"></FooterStyle>
<FooterTemplate>
<asp:TextBox id="insertDescription" Width="140" runat="server"></asp:TextBox>
</FooterTemplate>
<EditItemTemplate>
<asp:TextBox Runat="server" ID="editDescription" Text = '<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_DESCRIPTION")) %>' Width="140">
</asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Type">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<ItemTemplate>
<asp:Label id="lblType" Runat="server" Text='<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"TYPENAME")) %>' >
</asp:Label>
</ItemTemplate>
<FooterStyle Wrap="False"></FooterStyle>
<FooterTemplate>
<asp:DropdownList id="insertTypes" runat="server" DataSource='<%# BindTBDATATYPE() %>' DataValueField="DT_REF" DataTextField="DT_DESCRIPTION">
</asp:DropdownList>
</FooterTemplate>
<EditItemTemplate>
<asp:DropdownList id="ddlDATATYPE" runat="server" DataSource='<%# BindTBDATATYPE() %>' selectedindex='<%# GetSelectedIndexDATATYPE(DataBinder.Eval(Container.DataItem, "TYPENAME").ToString())%>' DataValueField="DT_REF" DataTextField="DT_DESCRIPTION">
</asp:DropdownList>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Content">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<ItemTemplate>
<asp:Label Text='<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_CONTENT")) %>' Runat="server" ID="lblContent">
</asp:Label>
</ItemTemplate>
<FooterStyle Wrap="False"></FooterStyle>
<FooterTemplate>
<asp:TextBox id="insertContent" Width="60" runat="server"></asp:TextBox>
</FooterTemplate>
<EditItemTemplate>
<asp:TextBox Runat="server" ID="editContent" Text = '<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_CONTENT")) %>' Width="60">
</asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Direction">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<ItemTemplate>
<asp:Label id="lblDirection" Runat="server" Text='<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"DIRECTIONNAME")) %>' >
</asp:Label>
</ItemTemplate>
<FooterStyle Wrap="False"></FooterStyle>
<FooterTemplate>
<asp:DropdownList id="insertDirection" runat="server" DataSource='<%# BindTBPARAMDIRECTION() %>' DataValueField="PD_REF" DataTextField="PD_DESCRIPTION">
</asp:DropdownList>
</FooterTemplate>
<EditItemTemplate>
<asp:DropdownList id="ddlPARAMDIRECTION" runat="server" DataSource='<%# BindTBPARAMDIRECTION() %>' selectedindex='<%# GetSelectedIndexPARAMDIRECTION(DataBinder.Eval(Container.DataItem, "DIRECTIONNAME").ToString())%>' DataValueField="PD_REF" DataTextField="PD_DESCRIPTION">
</asp:DropdownList>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Length">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<ItemTemplate>
<asp:Label Text='<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_LENGTH")) %>' Runat="server" ID="lblLength">
</asp:Label>
</ItemTemplate>
<FooterStyle Wrap="False"></FooterStyle>
<FooterTemplate>
<asp:TextBox id="insertLength" Width="50" runat="server"></asp:TextBox>
</FooterTemplate>
<EditItemTemplate>
<asp:TextBox Runat="server" ID="editLength" Text = '<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_LENGTH")) %>' Width="50">
</asp:TextBox>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Delete">
<HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False"></ItemStyle>
<ItemTemplate>
<asp:ImageButton CommandName="Delete" id="btnDel" runat="server" Runat="server" alt='Delete this item?'
                                                            ImageUrl="images/icn_del.gif"></asp:ImageButton>
</ItemTemplate>
<FooterStyle Wrap="False"></FooterStyle>
<FooterTemplate>
<asp:ImageButton CommandName="Insert" id="btnAdd" runat="server" alt='Add new item' ImageUrl="images/icn_add.gif"></asp:ImageButton>
</FooterTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle NextPageText="Next&amp;gt;" PrevPageText="&amp;lt; Prev" HorizontalAlign="Center"
                                             ForeColor="#330099" BackColor="#FFFFCC" Wrap="False" Mode="NumericPages"></PagerStyle>
</asp:datagrid>
<P align="center"><uc1:logout id="Logout1" runat="server"></uc1:logout><BR>
<BR>
<mspos:footer id="footer" runat="server"></mspos:footer></P>
</TD>
<TD height="272"></TD>
</TR>
</TABLE>
</form>
</center> <!-- Include start of footer ------------------------------------------------> <!--------------------------------------------------------------------------->
</body>
</HTML>
0
mathieu_cupryk
Asked:
mathieu_cupryk
  • 7
  • 6
1 Solution
 
tusharashahCommented:
Change: AllowCustomPaging="True"
To       : AllowCustomPaging="False"

You're using inbuilt Paging of DataGrid, CustomPaging is different from that.

-tushar
0
 
mathieu_cuprykAuthor Commented:
I get the folloing error?

Server Error in '/MSPOS' Application.
--------------------------------------------------------------------------------

AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID DataGridUserManagementID when AllowPaging is set to true and the selected datasource does not implement ICollection.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID DataGridUserManagementID when AllowPaging is set to true and the selected datasource does not implement ICollection.

Source Error:


Line 95:     OdbcDataReader reader =  command.ExecuteReader(CommandBehavior.CloseConnection);
Line 96:     DataGridUserManagementID.DataSource=reader;
Line 97:     DataGridUserManagementID.DataBind();
Line 98:       reader.Close();
Line 99:       reader=null;
 

Source File: D:\Inetpub\wwwroot\MSPOS\Parameter.aspx    Line: 97

Stack Trace:


[HttpException (0x80004005): AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID DataGridUserManagementID when AllowPaging is set to true and the selected datasource does not implement ICollection.]
   System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource) +2072
   System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +49
   System.Web.UI.WebControls.BaseDataList.DataBind() +23
   ASP.Parameter_aspx.BindData() in D:\Inetpub\wwwroot\MSPOS\Parameter.aspx:97
   ASP.Parameter_aspx.Page_Load(Object sender, EventArgs e) in D:\Inetpub\wwwroot\MSPOS\Parameter.aspx:74
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750

 

0
 
tusharashahCommented:
If you attempt to use a SqlDataReader with default paging, as opposed to a DataSet, you will get that error message. Use DataSet instead and you'll be allset.

-tushar
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
mathieu_cuprykAuthor Commented:
O no u got me confused. How can I use DataSet.
0
 
tusharashahCommented:
Change your BindData() function to something like following:

//****************************************************************
private void BindData()
{
    string strSQLDDL = @"SELECT GET_DT_TBDATATYPE(PM_TYPE) AS TYPENAME, GET_PD_TBPARAMDIRECTION(PM_DIRECTION) AS DIRECTIONNAME, CM_REF, PM_INDEX, PM_NAME, PM_DESCRIPTION, PM_TYPE AS DT_REF, PM_CONTENT, PM_DIRECTION AS PD_REF, PM_LENGTH  FROM TBPARAMETERS ORDER BY CM_REF";    

          OdbcDataAdapter myDataAdapter = new OdbcDataAdapter(strSQLDDL, myConnection);
          ds.Clear();  
          myDataAdapter.Fill(ds, "ddlDATATYPE");
          myDataAdapter.Dispose();
          myDataAdapter = null;
          myConnection.Close();
    DataGridUserManagementID.DataSource=ds.Tables[0];
    DataGridUserManagementID.DataBind();
         
}
//****************************************************************

-tushar
0
 
tusharashahCommented:
myDataAdapter.Fill(ds, "ddlDATATYPE");

should be:: myDataAdapter.Fill(ds, "TBPARAMETERS ");
0
 
mathieu_cuprykAuthor Commented:
How should I define the dataset?
0
 
mathieu_cuprykAuthor Commented:
Going to sleep for a few hours.
0
 
tusharashahCommented:
lol same was with me.. here you go:

In anycase you'll be creating a new dataset whenever you BindGrid...

//****************************************************************
private void BindData()
{
    string strSQLDDL = @"SELECT GET_DT_TBDATATYPE(PM_TYPE) AS TYPENAME, GET_PD_TBPARAMDIRECTION(PM_DIRECTION) AS DIRECTIONNAME, CM_REF, PM_INDEX, PM_NAME, PM_DESCRIPTION, PM_TYPE AS DT_REF, PM_CONTENT, PM_DIRECTION AS PD_REF, PM_LENGTH  FROM TBPARAMETERS ORDER BY CM_REF";    
          DataSet ds;
          OdbcDataAdapter myDataAdapter = new OdbcDataAdapter(strSQLDDL, myConnection);
          myDataAdapter.Fill(ds, "ddlDATATYPE");
          myDataAdapter.Dispose();
          myDataAdapter = null;
          myConnection.Close();
    DataGridUserManagementID.DataSource=ds.Tables[0];
    DataGridUserManagementID.DataBind();
         
}
//****************************************************************

-tushar
0
 
mathieu_cuprykAuthor Commented:
OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");
   
    // get records from the table
    DataSet ds;
      string commandString = @"SELECT GET_DT_TBDATATYPE(PM_TYPE) AS TYPENAME, GET_PD_TBPARAMDIRECTION(PM_DIRECTION) AS DIRECTIONNAME, CM_REF, PM_INDEX, PM_NAME, PM_DESCRIPTION, PM_TYPE AS DT_REF, PM_CONTENT, PM_DIRECTION AS PD_REF, PM_LENGTH  FROM TBPARAMETERS ORDER BY CM_REF";      
      myConnection.Open();
         // Set the datagrid's datasource to the datareader and databind
    // Create a OdbcCommand object and assign the connection connect to the database
    OdbcDataAdapter myDataAdapter = new OdbcDataAdapter(commandString, myConnection);
      ds.Clear();  
      myDataAdapter.Fill(ds, "TBPARAMETERS");         
      myDataAdapter.Dispose();         
      myDataAdapter = null;         
      myConnection.Close();   
      DataGridUserManagementID.DataSource = ds.Tables[0];  
      DataGridUserManagementID.DataBind();


Error use of unsign local variable
ds.Clear();
?
0
 
tusharashahCommented:
Since you're using a new DataSet, you will not require to use ds.Clear(), you can take that out:

OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");
   
    // get records from the table
    DataSet ds;
     string commandString = @"SELECT GET_DT_TBDATATYPE(PM_TYPE) AS TYPENAME, GET_PD_TBPARAMDIRECTION(PM_DIRECTION) AS DIRECTIONNAME, CM_REF, PM_INDEX, PM_NAME, PM_DESCRIPTION, PM_TYPE AS DT_REF, PM_CONTENT, PM_DIRECTION AS PD_REF, PM_LENGTH  FROM TBPARAMETERS ORDER BY CM_REF";    
     myConnection.Open();
        // Set the datagrid's datasource to the datareader and databind
    // Create a OdbcCommand object and assign the connection connect to the database
    OdbcDataAdapter myDataAdapter = new OdbcDataAdapter(commandString, myConnection);
     myDataAdapter.Fill(ds, "TBPARAMETERS");          
     myDataAdapter.Dispose();          
     myDataAdapter = null;          
     myConnection.Close();    
     DataGridUserManagementID.DataSource = ds.Tables[0];  
     DataGridUserManagementID.DataBind();

-tushar
0
 
mathieu_cuprykAuthor Commented:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0165: Use of unassigned local variable 'ds'

Source Error:

 

Line 90:      // Create a OdbcCommand object and assign the connection connect to the database
Line 91:      OdbcDataAdapter myDataAdapter = new OdbcDataAdapter(commandString, myConnection);
Line 92:      myDataAdapter.Fill(ds, "TBPARAMETERS");          
Line 93:      myDataAdapter.Dispose();          
Line 94:      myDataAdapter = null;          
 

Source File: D:\Inetpub\wwwroot\MSPOS\Parameters.aspx    Line: 92



Show Detailed Compiler Output:


d:\windows\system32\inetsrv> "d:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"d:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\mspos\7fd4084b\87fe2220\8a-7i03_.dll" /R:"d:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\mspos\7fd4084b\87fe2220\kdxseptl.dll" /R:"d:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"d:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\mspos\7fd4084b\87fe2220\l4t_al-m.dll" /R:"d:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\mspos\7fd4084b\87fe2220\w3by4kkl.dll" /R:"d:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"d:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"d:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"d:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\mspos\7fd4084b\87fe2220\assembly\dl2\5b84e297\00435b3c_0eb5c401\activedatetime.dll" /R:"d:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"d:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"d:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"d:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"d:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"d:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\mspos\7fd4084b\87fe2220\assembly\dl2\2499feae\aa48809e_69c3c401\mspos.dll" /out:"D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\mspos\7fd4084b\87fe2220\rooaaqr6.dll" /D:DEBUG /debug+ /optimize- /win32res:"D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\mspos\7fd4084b\87fe2220\rooaaqr6.res" /warnaserror /w:1  "D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\mspos\7fd4084b\87fe2220\rooaaqr6.0.cs"


Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

D:\Inetpub\wwwroot\MSPOS\Parameters.aspx(92,25): error CS0165: Use of unassigned local variable 'ds'

 



Show Complete Compilation Source:


Line 1:    //------------------------------------------------------------------------------
Line 2:    // <autogenerated>
Line 3:    //     This code was generated by a tool.
Line 4:    //     Runtime Version: 1.1.4322.2032
Line 5:    //
Line 6:    //     Changes to this file may cause incorrect behavior and will be lost if
Line 7:    //     the code is regenerated.
Line 8:    // </autogenerated>
Line 9:    //------------------------------------------------------------------------------
Line 10:  
Line 11:   namespace ASP {
Line 12:       using System;
Line 13:       using System.Collections;
Line 14:       using System.Collections.Specialized;
Line 15:       using System.Configuration;
Line 16:       using System.Text;
Line 17:       using System.Text.RegularExpressions;
Line 18:       using System.Web;
Line 19:       using System.Web.Caching;
Line 20:       using System.Web.SessionState;
Line 21:       using System.Web.Security;
Line 22:       using System.Web.UI;
Line 23:       using System.Web.UI.WebControls;
Line 24:       using System.Web.UI.HtmlControls;
Line 25:       using ASP;
Line 26:      
Line 27:       #line 5 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 28:       using System.Drawing;
Line 29:      
Line 30:       #line default
Line 31:       #line hidden
Line 32:      
Line 33:       #line 6 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 34:       using System.ComponentModel;
Line 35:      
Line 36:       #line default
Line 37:       #line hidden
Line 38:      
Line 39:       #line 9 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 40:       using System.Data;
Line 41:      
Line 42:       #line default
Line 43:       #line hidden
Line 44:      
Line 45:       #line 10 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 46:       using System.Data.Odbc;
Line 47:      
Line 48:       #line default
Line 49:       #line hidden
Line 50:      
Line 51:      
Line 52:       [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 53:       public class Parameters_aspx : System.Web.UI.Page, System.Web.SessionState.IRequiresSessionState {
Line 54:          
Line 55:           private static int __autoHandlers;
Line 56:          
Line 57:          
Line 58:           #line 353 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 59:           protected ASP.header_ascx header;
Line 60:          
Line 61:           #line default
Line 62:           #line hidden
Line 63:          
Line 64:          
Line 65:           #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 66:           private System.Web.UI.WebControls.TableItemStyle __control2;
Line 67:          
Line 68:           #line default
Line 69:           #line hidden
Line 70:          
Line 71:          
Line 72:           #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 73:           private System.Web.UI.WebControls.TableItemStyle __control3;
Line 74:          
Line 75:           #line default
Line 76:           #line hidden
Line 77:          
Line 78:          
Line 79:           #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 80:           private System.Web.UI.WebControls.TableItemStyle __control4;
Line 81:          
Line 82:           #line default
Line 83:           #line hidden
Line 84:          
Line 85:          
Line 86:           #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 87:           private System.Web.UI.WebControls.TableItemStyle __control5;
Line 88:          
Line 89:           #line default
Line 90:           #line hidden
Line 91:          
Line 92:          
Line 93:           #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 94:           private System.Web.UI.WebControls.TableItemStyle __control6;
Line 95:          
Line 96:           #line default
Line 97:           #line hidden
Line 98:          
Line 99:          
Line 100:          #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 101:          private System.Web.UI.WebControls.TableItemStyle __control7;
Line 102:          
Line 103:          #line default
Line 104:          #line hidden
Line 105:          
Line 106:          
Line 107:          #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 108:          private System.Web.UI.WebControls.TableItemStyle __control10;
Line 109:          
Line 110:          #line default
Line 111:          #line hidden
Line 112:          
Line 113:          
Line 114:          #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 115:          private System.Web.UI.WebControls.TableItemStyle __control11;
Line 116:          
Line 117:          #line default
Line 118:          #line hidden
Line 119:          
Line 120:          
Line 121:          #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 122:          private System.Web.UI.WebControls.TableItemStyle __control12;
Line 123:          
Line 124:          #line default
Line 125:          #line hidden
Line 126:          
Line 127:          
Line 128:          #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 129:          private System.Web.UI.WebControls.EditCommandColumn __control9;
Line 130:          
Line 131:          #line default
Line 132:          #line hidden
Line 133:          
Line 134:          
Line 135:          #line 391 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 136:          private System.Web.UI.WebControls.Label __control15;
Line 137:          
Line 138:          #line default
Line 139:          #line hidden
Line 140:          
Line 141:          
Line 142:          #line 396 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 143:          private System.Web.UI.WebControls.TextBox __control17;
Line 144:          
Line 145:          #line default
Line 146:          #line hidden
Line 147:          
Line 148:          
Line 149:          #line 399 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 150:          private System.Web.UI.WebControls.TextBox __control19;
Line 151:          
Line 152:          #line default
Line 153:          #line hidden
Line 154:          
Line 155:          
Line 156:          #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 157:          private System.Web.UI.WebControls.TableItemStyle __control20;
Line 158:          
Line 159:          #line default
Line 160:          #line hidden
Line 161:          
Line 162:          
Line 163:          #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 164:          private System.Web.UI.WebControls.TableItemStyle __control21;
Line 165:          
Line 166:          #line default
Line 167:          #line hidden
Line 168:          
Line 169:          
Line 170:          #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 171:          private System.Web.UI.WebControls.TableItemStyle __control22;
Line 172:          
Line 173:          #line default
Line 174:          #line hidden
Line 175:          
Line 176:          
Line 177:          #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 178:          private System.Web.UI.WebControls.TemplateColumn __control13;
Line 179:          
Line 180:          #line default
Line 181:          #line hidden
Line 182:          
Line 183:          
Line 184:          #line 407 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 185:          private System.Web.UI.WebControls.Label __control25;
Line 186:          
Line 187:          #line default
Line 188:          #line hidden
Line 189:          
Line 190:          
Line 191:          #line 412 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 192:          private System.Web.UI.WebControls.TextBox __control27;
Line 193:          
Line 194:          #line default
Line 195:          #line hidden
Line 196:          
Line 197:          
Line 198:          #line 415 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 199:          private System.Web.UI.WebControls.TextBox __control29;
Line 200:          
Line 201:          #line default
Line 202:          #line hidden
Line 203:          
Line 204:          
Line 205:          #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 206:          private System.Web.UI.WebControls.TableItemStyle __control30;
Line 207:          
Line 208:          #line default
Line 209:          #line hidden
Line 210:          
Line 211:          
Line 212:          #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 213:          private System.Web.UI.WebControls.TableItemStyle __control31;
Line 214:          
Line 215:          #line default
Line 216:          #line hidden
Line 217:          
Line 218:          
Line 219:          #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 220:          private System.Web.UI.WebControls.TableItemStyle __control32;
Line 221:          
Line 222:          #line default
Line 223:          #line hidden
Line 224:          
Line 225:          
Line 226:          #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 227:          private System.Web.UI.WebControls.TemplateColumn __control23;
Line 228:          
Line 229:          #line default
Line 230:          #line hidden
Line 231:          
Line 232:          
Line 233:          #line 423 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 234:          private System.Web.UI.WebControls.Label __control35;
Line 235:          
Line 236:          #line default
Line 237:          #line hidden
Line 238:          
Line 239:          
Line 240:          #line 428 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 241:          private System.Web.UI.WebControls.TextBox __control37;
Line 242:          
Line 243:          #line default
Line 244:          #line hidden
Line 245:          
Line 246:          
Line 247:          #line 431 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 248:          private System.Web.UI.WebControls.TextBox __control39;
Line 249:          
Line 250:          #line default
Line 251:          #line hidden
Line 252:          
Line 253:          
Line 254:          #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 255:          private System.Web.UI.WebControls.TableItemStyle __control40;
Line 256:          
Line 257:          #line default
Line 258:          #line hidden
Line 259:          
Line 260:          
Line 261:          #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 262:          private System.Web.UI.WebControls.TableItemStyle __control41;
Line 263:          
Line 264:          #line default
Line 265:          #line hidden
Line 266:          
Line 267:          
Line 268:          #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 269:          private System.Web.UI.WebControls.TableItemStyle __control42;
Line 270:          
Line 271:          #line default
Line 272:          #line hidden
Line 273:          
Line 274:          
Line 275:          #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 276:          private System.Web.UI.WebControls.TemplateColumn __control33;
Line 277:          
Line 278:          #line default
Line 279:          #line hidden
Line 280:          
Line 281:          
Line 282:          #line 439 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 283:          private System.Web.UI.WebControls.Label __control45;
Line 284:          
Line 285:          #line default
Line 286:          #line hidden
Line 287:          
Line 288:          
Line 289:          #line 444 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 290:          private System.Web.UI.WebControls.TextBox __control47;
Line 291:          
Line 292:          #line default
Line 293:          #line hidden
Line 294:          
Line 295:          
Line 296:          #line 447 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 297:          private System.Web.UI.WebControls.TextBox __control49;
Line 298:          
Line 299:          #line default
Line 300:          #line hidden
Line 301:          
Line 302:          
Line 303:          #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 304:          private System.Web.UI.WebControls.TableItemStyle __control50;
Line 305:          
Line 306:          #line default
Line 307:          #line hidden
Line 308:          
Line 309:          
Line 310:          #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 311:          private System.Web.UI.WebControls.TableItemStyle __control51;
Line 312:          
Line 313:          #line default
Line 314:          #line hidden
Line 315:          
Line 316:          
Line 317:          #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 318:          private System.Web.UI.WebControls.TableItemStyle __control52;
Line 319:          
Line 320:          #line default
Line 321:          #line hidden
Line 322:          
Line 323:          
Line 324:          #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 325:          private System.Web.UI.WebControls.TemplateColumn __control43;
Line 326:          
Line 327:          #line default
Line 328:          #line hidden
Line 329:          
Line 330:          
Line 331:          #line 455 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 332:          private System.Web.UI.WebControls.Label __control55;
Line 333:          
Line 334:          #line default
Line 335:          #line hidden
Line 336:          
Line 337:          
Line 338:          #line 460 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 339:          private System.Web.UI.WebControls.DropDownList __control57;
Line 340:          
Line 341:          #line default
Line 342:          #line hidden
Line 343:          
Line 344:          
Line 345:          #line 464 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 346:          private System.Web.UI.WebControls.DropDownList __control59;
Line 347:          
Line 348:          #line default
Line 349:          #line hidden
Line 350:          
Line 351:          
Line 352:          #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 353:          private System.Web.UI.WebControls.TableItemStyle __control60;
Line 354:          
Line 355:          #line default
Line 356:          #line hidden
Line 357:          
Line 358:          
Line 359:          #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 360:          private System.Web.UI.WebControls.TableItemStyle __control61;
Line 361:          
Line 362:          #line default
Line 363:          #line hidden
Line 364:          
Line 365:          
Line 366:          #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 367:          private System.Web.UI.WebControls.TableItemStyle __control62;
Line 368:          
Line 369:          #line default
Line 370:          #line hidden
Line 371:          
Line 372:          
Line 373:          #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 374:          private System.Web.UI.WebControls.TemplateColumn __control53;
Line 375:          
Line 376:          #line default
Line 377:          #line hidden
Line 378:          
Line 379:          
Line 380:          #line 472 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 381:          private System.Web.UI.WebControls.Label __control65;
Line 382:          
Line 383:          #line default
Line 384:          #line hidden
Line 385:          
Line 386:          
Line 387:          #line 477 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 388:          private System.Web.UI.WebControls.TextBox __control67;
Line 389:          
Line 390:          #line default
Line 391:          #line hidden
Line 392:          
Line 393:          
Line 394:          #line 480 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 395:          private System.Web.UI.WebControls.TextBox __control69;
Line 396:          
Line 397:          #line default
Line 398:          #line hidden
Line 399:          
Line 400:          
Line 401:          #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 402:          private System.Web.UI.WebControls.TableItemStyle __control70;
Line 403:          
Line 404:          #line default
Line 405:          #line hidden
Line 406:          
Line 407:          
Line 408:          #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 409:          private System.Web.UI.WebControls.TableItemStyle __control71;
Line 410:          
Line 411:          #line default
Line 412:          #line hidden
Line 413:          
Line 414:          
Line 415:          #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 416:          private System.Web.UI.WebControls.TableItemStyle __control72;
Line 417:          
Line 418:          #line default
Line 419:          #line hidden
Line 420:          
Line 421:          
Line 422:          #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 423:          private System.Web.UI.WebControls.TemplateColumn __control63;
Line 424:          
Line 425:          #line default
Line 426:          #line hidden
Line 427:          
Line 428:          
Line 429:          #line 488 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 430:          private System.Web.UI.WebControls.Label __control75;
Line 431:          
Line 432:          #line default
Line 433:          #line hidden
Line 434:          
Line 435:          
Line 436:          #line 493 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 437:          private System.Web.UI.WebControls.DropDownList __control77;
Line 438:          
Line 439:          #line default
Line 440:          #line hidden
Line 441:          
Line 442:          
Line 443:          #line 497 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 444:          private System.Web.UI.WebControls.DropDownList __control79;
Line 445:          
Line 446:          #line default
Line 447:          #line hidden
Line 448:          
Line 449:          
Line 450:          #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 451:          private System.Web.UI.WebControls.TableItemStyle __control80;
Line 452:          
Line 453:          #line default
Line 454:          #line hidden
Line 455:          
Line 456:          
Line 457:          #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 458:          private System.Web.UI.WebControls.TableItemStyle __control81;
Line 459:          
Line 460:          #line default
Line 461:          #line hidden
Line 462:          
Line 463:          
Line 464:          #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 465:          private System.Web.UI.WebControls.TableItemStyle __control82;
Line 466:          
Line 467:          #line default
Line 468:          #line hidden
Line 469:          
Line 470:          
Line 471:          #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 472:          private System.Web.UI.WebControls.TemplateColumn __control73;
Line 473:          
Line 474:          #line default
Line 475:          #line hidden
Line 476:          
Line 477:          
Line 478:          #line 505 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 479:          private System.Web.UI.WebControls.Label __control85;
Line 480:          
Line 481:          #line default
Line 482:          #line hidden
Line 483:          
Line 484:          
Line 485:          #line 510 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 486:          private System.Web.UI.WebControls.TextBox __control87;
Line 487:          
Line 488:          #line default
Line 489:          #line hidden
Line 490:          
Line 491:          
Line 492:          #line 513 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 493:          private System.Web.UI.WebControls.TextBox __control89;
Line 494:          
Line 495:          #line default
Line 496:          #line hidden
Line 497:          
Line 498:          
Line 499:          #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 500:          private System.Web.UI.WebControls.TableItemStyle __control90;
Line 501:          
Line 502:          #line default
Line 503:          #line hidden
Line 504:          
Line 505:          
Line 506:          #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 507:          private System.Web.UI.WebControls.TableItemStyle __control91;
Line 508:          
Line 509:          #line default
Line 510:          #line hidden
Line 511:          
Line 512:          
Line 513:          #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 514:          private System.Web.UI.WebControls.TableItemStyle __control92;
Line 515:          
Line 516:          #line default
Line 517:          #line hidden
Line 518:          
Line 519:          
Line 520:          #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 521:          private System.Web.UI.WebControls.TemplateColumn __control83;
Line 522:          
Line 523:          #line default
Line 524:          #line hidden
Line 525:          
Line 526:          
Line 527:          #line 521 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 528:          private System.Web.UI.WebControls.ImageButton __control95;
Line 529:          
Line 530:          #line default
Line 531:          #line hidden
Line 532:          
Line 533:          
Line 534:          #line 526 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 535:          private System.Web.UI.WebControls.ImageButton __control97;
Line 536:          
Line 537:          #line default
Line 538:          #line hidden
Line 539:          
Line 540:          
Line 541:          #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 542:          private System.Web.UI.WebControls.TableItemStyle __control98;
Line 543:          
Line 544:          #line default
Line 545:          #line hidden
Line 546:          
Line 547:          
Line 548:          #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 549:          private System.Web.UI.WebControls.TableItemStyle __control99;
Line 550:          
Line 551:          #line default
Line 552:          #line hidden
Line 553:          
Line 554:          
Line 555:          #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 556:          private System.Web.UI.WebControls.TableItemStyle __control100;
Line 557:          
Line 558:          #line default
Line 559:          #line hidden
Line 560:          
Line 561:          
Line 562:          #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 563:          private System.Web.UI.WebControls.TemplateColumn __control93;
Line 564:          
Line 565:          #line default
Line 566:          #line hidden
Line 567:          
Line 568:          
Line 569:          #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 570:          private System.Web.UI.WebControls.DataGridColumnCollection __control8;
Line 571:          
Line 572:          #line default
Line 573:          #line hidden
Line 574:          
Line 575:          
Line 576:          #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 577:          private System.Web.UI.WebControls.DataGridPagerStyle __control101;
Line 578:          
Line 579:          #line default
Line 580:          #line hidden
Line 581:          
Line 582:          
Line 583:          #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 584:          protected System.Web.UI.WebControls.DataGrid DataGridUserManagementID;
Line 585:          
Line 586:          #line default
Line 587:          #line hidden
Line 588:          
Line 589:          
Line 590:          #line 533 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 591:          protected ASP.logout_ascx Logout1;
Line 592:          
Line 593:          #line default
Line 594:          #line hidden
Line 595:          
Line 596:          
Line 597:          #line 535 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 598:          protected ASP.footer_ascx footer;
Line 599:          
Line 600:          #line default
Line 601:          #line hidden
Line 602:          
Line 603:          
Line 604:          #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 605:          protected System.Web.UI.HtmlControls.HtmlForm form1;
Line 606:          
Line 607:          #line default
Line 608:          #line hidden
Line 609:          
Line 610:          private static bool __initialized = false;
Line 611:          
Line 612:          private static object __stringResource;
Line 613:          
Line 614:          private static System.Collections.ArrayList __fileDependencies;
Line 615:          
Line 616:          
Line 617:          #line 17 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 618:          
Line 619:  private DataSet ddlDataSet = new DataSet();
Line 620:  private OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");
Line 621:  private DataSet ddlDataSet1 = new DataSet();
Line 622:  private DataSet ddlDataSet2 = new DataSet();
Line 623:  private string CommandID;            
Line 624:  
Line 625:  
Line 626:  
Line 627:  //*********************************************************************
Line 628:  // Get TBDATATYPE and populate dataset with DT_REF and DT_DESCRIPTION  
Line 629:  public DataSet BindTBDATATYPE()
Line 630:  {
Line 631:              OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");
Line 632:  
Line 633:              // Populate the ddlDataSet1
Line 634:              myConnection.Open();
Line 635:              const string strSQLDDL = @"SELECT DT_REF, DT_DESCRIPTION FROM TBDATATYPE ORDER BY DT_REF";
Line 636:              OdbcDataAdapter myDataAdapter = new OdbcDataAdapter(strSQLDDL, myConnection);
Line 637:              ddlDataSet1.Clear();  
Line 638:              myDataAdapter.Fill(ddlDataSet1, "ddlDATATYPE");
Line 639:              myDataAdapter.Dispose();
Line 640:              myDataAdapter = null;
Line 641:              myConnection.Close();
Line 642:              return ddlDataSet1;
Line 643:  }
Line 644:  //***********************************************************************
Line 645:  
Line 646:  
Line 647:  
Line 648:  //***********************************************************************
Line 649:  // Get TBPARAMDIRECTION and populate dataset with PD_REF and PD_DESCRIPTION
Line 650:  public DataSet BindTBPARAMDIRECTION()
Line 651:  {
Line 652:              OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");
Line 653:  
Line 654:              // Populate the ddlDataSet2
Line 655:              myConnection.Open();
Line 656:              const string strSQLDDL = @"SELECT PD_REF, PD_DESCRIPTION FROM TBPARAMDIRECTION ORDER BY PD_REF";
Line 657:              OdbcDataAdapter myDataAdapter = new OdbcDataAdapter(strSQLDDL, myConnection);
Line 658:              ddlDataSet2.Clear();  
Line 659:              myDataAdapter.Fill(ddlDataSet2, "ddlPARAMDIRECTION");
Line 660:              myDataAdapter.Dispose();
Line 661:              myDataAdapter = null;
Line 662:              myConnection.Close();
Line 663:              return ddlDataSet2;
Line 664:  }
Line 665:  //***********************************************************************
Line 666:  
Line 667:  
Line 668:  
Line 669:  //****************************************************************
Line 670:  protected void Page_Load(object sender, System.EventArgs e)
Line 671:  {
Line 672:        if (!Page.IsPostBack)
Line 673:        {
Line 674:              BindData();
Line 675:        }
Line 676:  }
Line 677:  //****************************************************************
Line 678:  
Line 679:  
Line 680:  
Line 681:  //****************************************************************
Line 682:  private void BindData()
Line 683:  {
Line 684:         OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");
Line 685:      
Line 686:       // get records from the table
Line 687:       DataSet ds;
Line 688:       string commandString = @"SELECT GET_DT_TBDATATYPE(PM_TYPE) AS TYPENAME, GET_PD_TBPARAMDIRECTION(PM_DIRECTION) AS DIRECTIONNAME, CM_REF, PM_INDEX, PM_NAME, PM_DESCRIPTION, PM_TYPE AS DT_REF, PM_CONTENT, PM_DIRECTION AS PD_REF, PM_LENGTH  FROM TBPARAMETERS ORDER BY CM_REF";    
Line 689:       myConnection.Open();
Line 690:       // Set the datagrid's datasource to the datareader and databind
Line 691:       // Create a OdbcCommand object and assign the connection connect to the database
Line 692:       OdbcDataAdapter myDataAdapter = new OdbcDataAdapter(commandString, myConnection);
Line 693:       myDataAdapter.Fill(ds, "TBPARAMETERS");          
Line 694:       myDataAdapter.Dispose();          
Line 695:       myDataAdapter = null;          
Line 696:       myConnection.Close();    
Line 697:       DataGridUserManagementID.DataSource = ds.Tables[0];  
Line 698:       DataGridUserManagementID.DataBind();
Line 699:  
Line 700:             
Line 701:  }
Line 702:  //****************************************************************
Line 703:  
Line 704:  
Line 705:  //************************************************************
Line 706:  private void DataGridUserManagementID_SelectedIndexChanged(object sender, System.EventArgs e)
Line 707:  {
Line 708:        int intCount;
Line 709:        for (intCount = 1; intCount <= DataGridUserManagementID.Items.Count; intCount ++)
Line 710:            DataGridUserManagementID.Items[intCount - 1].BorderStyle =  BorderStyle.Groove;
Line 711:  
Line 712:        DataGridUserManagementID.SelectedItem.BorderStyle = BorderStyle.Dashed;
Line 713:  }
Line 714:  //************************************************************
Line 715:  
Line 716:  
Line 717:  
Line 718:  //****************************************************************
Line 719:  private void DataGridUserManagementID_Delete(object source,
Line 720:  System.Web.UI.WebControls.DataGridCommandEventArgs e)
Line 721:  {
Line 722:      
Line 723:    // Get the CommandID of the row whose Delete button was clicked
Line 724:     string strCommandID = ((Label)e.Item.FindControl("lblCommandID")).Text;
Line 725:     int SelectedCommandID = Convert.ToInt32(strCommandID);
Line 726:     string strSQL = "Delete from TBPARAMETERS where CM_REF ='"+ SelectedCommandID +"'";
Line 727:     ExecuteQuery(strSQL);
Line 728:      
Line 729:     DataGridUserManagementID.EditItemIndex = -1;
Line 730:     BindData();
Line 731:  }
Line 732:  //****************************************************************
Line 733:  
Line 734:  
Line 735:  
Line 736:  //***************************************************************
Line 737:  private int ExecuteQuery(string sqlCmd)
Line 738:  {
Line 739:     // Create a OdbcCommand object and assign the connection connect to the database
Line 740:     OdbcConnection myConnection =  new OdbcConnection("DSN=MSPOS;UID=system;PWD=system");
Line 741:     myConnection.Open();
Line 742:     OdbcCommand command = myConnection.CreateCommand( );
Line 743:     command.CommandText = sqlCmd;
Line 744:     command.Connection = myConnection;
Line 745:     return command.ExecuteNonQuery();
Line 746:  }
Line 747:  //***************************************************************
Line 748:  
Line 749:  
Line 750:  
Line 751:  //***************************************************************
Line 752:  private void DataGridUserManagementID_Update(object source,
Line 753:  System.Web.UI.WebControls.DataGridCommandEventArgs e)
Line 754:  {
Line 755:      // Determine what store was selected
Line 756:      string strTypeID, strType, strDirectionID, strDirection;
Line 757:      string cmd;
Line 758:        string CommandID, strCommandID, strDescription, strName, strTimeout, strContent, strLength;    
Line 759:      ///... declarations for remaining data fields
Line 760:      CommandID = Session["CommandID"].ToString();
Line 761:        strCommandID = ((TextBox)e.Item.FindControl("editCommandID")).Text;
Line 762:      strDescription = ((TextBox)e.Item.FindControl("editDescription")).Text;
Line 763:      strName = ((TextBox)e.Item.FindControl("editName")).Text;
Line 764:        strContent = ((TextBox)e.Item.FindControl("editContent")).Text;
Line 765:        strLength = ((TextBox)e.Item.FindControl("editLength")).Text;
Line 766:      strTypeID = ((DropDownList)(e.Item.FindControl("ddlDATATYPE"))).SelectedItem.Value;
Line 767:          strType = ((DropDownList)(e.Item.FindControl("ddlDATATYPE"))).SelectedItem.Text;
Line 768:      strDirectionID = ((DropDownList)(e.Item.FindControl("ddlPARAMDIRECTION"))).SelectedItem.Value;
Line 769:      strDirection = ((DropDownList)(e.Item.FindControl("ddlPARAMDIRECTION"))).SelectedItem.Text;
Line 770:         
Line 771:    
Line 772:        // form the update statement
Line 773:      // connect to the database
Line 774:      if (e.CommandName == "Update")    
Line 775:        {
Line 776:              string strsql;
Line 777:              
Line 778:              if (CommandID != strCommandID)
Line 779:                    cmd = "Update TBPARAMETERS Set CM_REF='"+ strCommandID +"', PM_NAME ='"+ strName +"', PM_TYPE ='"+ strTypeID +"', PM_DIRECTION = '"+ strDirectionID +"', PM_LENGTH='"+ strLength +"', PM_CONTENT='"+ strTypeID +"', PM_INDEX='"+ strDirectionID +"', PM_DESCRIPTION='"+ strDescription +"' Where CM_REF = "+ CommandID +"";
Line 780:                  else
Line 781:                       cmd = "Update TBPARAMETERS Set CM_REF='"+ CommandID +"', PM_NAME ='"+ strName +"', PM_TYPE ='"+ strTypeID +"', PM_DIRECTION = '"+ strDirectionID +"', PM_LENGTH='"+ strLength +"', PM_CONTENT='"+ strTypeID +"', PM_INDEX='"+ strDirectionID +"', PM_DESCRIPTION='"+ strDescription +"' Where CM_REF = "+ strCommandID +"";
Line 782:               
Line 783:               ExecuteQuery(cmd);
Line 784:                strsql = null;
Line 785:                Session["CommandID"] = null;
Line 786:        }
Line 787:           DataGridUserManagementID.EditItemIndex = -1;
Line 788:      BindData(  );
Line 789:    
Line 790:  }
Line 791:  //************************************************************************
Line 792:  
Line 793:  
Line 794:  
Line 795:  
Line 796:  //****************************************************************
Line 797:  private void DataGridUserManagementID_Edit(object source,
Line 798:  System.Web.UI.WebControls.DataGridCommandEventArgs e)
Line 799:  {
Line 800:        CommandID = ((Label)e.Item.FindControl("lblCommandID")).Text;
Line 801:      Session["CommandID"] = CommandID;
Line 802:        DataGridUserManagementID.EditItemIndex = e.Item.ItemIndex;
Line 803:      BindData();
Line 804:  }
Line 805:  //****************************************************************
Line 806:  
Line 807:  
Line 808:  
Line 809:  //****************************************************************
Line 810:  private void dg_Page(object source, DataGridPageChangedEventArgs e)
Line 811:  {
Line 812:        DataGridUserManagementID.CurrentPageIndex = e.NewPageIndex;
Line 813:      BindData();
Line 814:  }
Line 815:  //****************************************************************
Line 816:  
Line 817:  
Line 818:  
Line 819:  
Line 820:  //************************************************************************
Line 821:  protected void DataGridUserManagementID_ItemCreated(Object sender, DataGridItemEventArgs e)
Line 822:  {
Line 823:        if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem || e.Item.ItemType == ListItemType.EditItem)
Line 824:        {
Line 825:              ImageButton btn = (ImageButton)e.Item.FindControl("btnDel");
Line 826:            btn.Attributes.Add("onclick", "return confirm('Are you sure you want to delete this item.')");
Line 827:        }
Line 828:  }
Line 829:  //************************************************************************
Line 830:  
Line 831:  
Line 832:  //******************************************************************************
Line 833:  private void DataGridUserManagementID_ItemDataBound(object sender,
Line 834:  System.Web.UI.WebControls.DataGridItemEventArgs e)
Line 835:  {
Line 836:      ListItemType oType = ((ListItemType)e.Item.ItemType);
Line 837:      if(oType == ListItemType.Item || oType == ListItemType.AlternatingItem)
Line 838:      {
Line 839:              e.Item.Attributes.Add("onmouseover", "this.style.backgroundColor='lightblue'");            
Line 840:              e.Item.Attributes.Add("onmouseout", "this.style.backgroundColor='Beige'");            
Line 841:        }
Line 842:        
Line 843:        if ((oType == ListItemType.EditItem))
Line 844:      {
Line 845:         
Line 846:          DropDownList listType =((DropDownList)e.Item.FindControl("ddlDATATYPE"));
Line 847:            listType.SelectedIndex = listType.Items.IndexOf(listType.Items.FindByText(Convert.ToString(DataBinder.Eval(e.Item.DataItem,"TYPENAME"))));
Line 848:                
Line 849:            DropDownList listDirection =((DropDownList)e.Item.FindControl("ddlPARAMDIRECTION"));
Line 850:          listDirection.SelectedIndex = listDirection.Items.IndexOf(listDirection.Items.FindByText(Convert.ToString(DataBinder.Eval(e.Item.DataItem,"PM_DESCRIPTION"))));
Line 851:         
Line 852:      }
Line 853:  
Line 854:  
Line 855:  
Line 856:  }
Line 857:  //***************************************************************
Line 858:  
Line 859:  
Line 860:  //************************************************************************
Line 861:  protected void DataGridUserManagementID_ItemCommand(object sender, System.Web.UI.WebControls.DataGridCommandEventArgs e)
Line 862:  {
Line 863:  
Line 864:      if (e.CommandName == "Insert")
Line 865:      {
Line 866:        // TextBox txtType;
Line 867:        TextBox txtCommandID, txtParameterIndex, txtName, txtDescription, txtContent, txtLength;
Line 868:        string strTypeID, strDirectionID;
Line 869:        txtCommandID = (TextBox)e.Item.FindControl("insertCommandID");
Line 870:        txtParameterIndex = (TextBox)e.Item.FindControl("insertParameterIndex");
Line 871:        txtName = (TextBox)e.Item.FindControl("insertName");
Line 872:        txtDescription = (TextBox)e.Item.FindControl("insertDescription");
Line 873:        txtContent = (TextBox)e.Item.FindControl("insertContent");
Line 874:        txtLength = (TextBox)e.Item.FindControl("insertLength");
Line 875:        
Line 876:        
Line 877:        strTypeID = ((DropDownList)(e.Item.FindControl("insertTypes"))).SelectedItem.Value;
Line 878:        strDirectionID = ((DropDownList)(e.Item.FindControl("insertDirection"))).SelectedItem.Value;
Line 879:           
Line 880:           
Line 881:           // Create the appropriate SQL statement
Line 882:          StringBuilder strSQL = new StringBuilder("insert into TBPARAMETERS");
Line 883:          strSQL.Append("(CM_REF, PM_NAME, PM_TYPE, PM_DIRECTION, PM_LENGTH, PM_CONTENT, PM_INDEX, PM_DESCRIPTION)");
Line 884:          strSQL.Append(" values (");
Line 885:          strSQL.Append("'").Append(txtCommandID.Text).Append("' ,");
Line 886:          strSQL.Append("'").Append(txtName.Text).Append("' ,");
Line 887:          strSQL.Append("'").Append(strTypeID).Append("' ,");
Line 888:          strSQL.Append("'").Append(strDirectionID).Append("' ,");
Line 889:          strSQL.Append("'").Append(txtLength.Text).Append("' ,");
Line 890:          strSQL.Append("'").Append(txtContent.Text).Append("' ,");
Line 891:          strSQL.Append("'").Append(txtParameterIndex.Text).Append("' ,");
Line 892:          strSQL.Append("'").Append(txtDescription.Text).Append("' )");
Line 893:        // call the update and rebind the datagrid
Line 894:        if ((txtCommandID.Text != "") && (txtName.Text != "") && (txtLength.Text != "") &&
Line 895:             (txtContent.Text != "") && (txtParameterIndex.Text != "") && (txtDescription.Text != ""))
Line 896:                       ExecuteQuery(strSQL.ToString());
Line 897:  
Line 898:           }
Line 899:         DataGridUserManagementID.EditItemIndex = -1;
Line 900:         BindData();
Line 901:      
Line 902:  }
Line 903:  //************************************************************************
Line 904:  
Line 905:  
Line 906:  //****************************************************************
Line 907:  private void DataGridUserManagementID_Cancel(object source,
Line 908:  System.Web.UI.WebControls.DataGridCommandEventArgs e)
Line 909:  {
Line 910:      DataGridUserManagementID.EditItemIndex = -1;
Line 911:      BindData();
Line 912:  }
Line 913:  //****************************************************************
Line 914:  
Line 915:  public int GetSelectedIndexDATATYPE (string DT_REF)
Line 916:  {  
Line 917:              int iLoop;
Line 918:              DataTable dt = ddlDataSet1.Tables["ddlDATATYPE"];
Line 919:              for (iLoop=0; iLoop < dt.Rows.Count; iLoop++)
Line 920:              {  
Line 921:                    string srow = dt.Rows[iLoop]["DT_REF"].ToString();
Line 922:                    
Line 923:                    if(srow == DT_REF)
Line 924:                    {
Line 925:                          return iLoop;
Line 926:                    }  
Line 927:              };  
Line 928:              return 0;  
Line 929:    
Line 930:  }
Line 931:  
Line 932:  public int GetSelectedIndexPARAMDIRECTION (string PD_REF)
Line 933:  {  
Line 934:              int iLoop;
Line 935:              DataTable dt = ddlDataSet2.Tables["ddlPARAMDIRECTION"];
Line 936:              for (iLoop=0; iLoop < dt.Rows.Count; iLoop++)
Line 937:              {  
Line 938:                    string srow = dt.Rows[iLoop]["PD_REF"].ToString();
Line 939:                          
Line 940:                    if(srow == PD_REF)
Line 941:                    {
Line 942:                          return iLoop;
Line 943:                    }  
Line 944:              };  
Line 945:              return 0;  
Line 946:    
Line 947:  }
Line 948:  
Line 949:        
Line 950:              
Line 951:          #line default
Line 952:          #line hidden
Line 953:          
Line 954:          public Parameters_aspx() {
Line 955:              System.Collections.ArrayList dependencies;
Line 956:              if ((ASP.Parameters_aspx.__initialized == false)) {
Line 957:                  ASP.Parameters_aspx.__stringResource = System.Web.UI.TemplateControl.ReadStringResource(typeof(ASP.Parameters_aspx));
Line 958:                  dependencies = new System.Collections.ArrayList();
Line 959:                  dependencies.Add("D:\\Inetpub\\wwwroot\\MSPOS\\Engine\\Controls\\footer.ascx");
Line 960:                  dependencies.Add("D:\\Inetpub\\wwwroot\\MSPOS\\Engine\\Controls\\logout.ascx");
Line 961:                  dependencies.Add("D:\\Inetpub\\wwwroot\\MSPOS\\Engine\\Controls\\header.ascx");
Line 962:                  dependencies.Add("D:\\Inetpub\\wwwroot\\MSPOS\\bin\\MSPOS.DLL");
Line 963:                  dependencies.Add("D:\\Inetpub\\wwwroot\\MSPOS\\Parameters.aspx");
Line 964:                  ASP.Parameters_aspx.__fileDependencies = dependencies;
Line 965:                  ASP.Parameters_aspx.__initialized = true;
Line 966:              }
Line 967:              this.Server.ScriptTimeout = 30000000;
Line 968:          }
Line 969:          
Line 970:          protected override int AutoHandlers {
Line 971:              get {
Line 972:                  return ASP.Parameters_aspx.__autoHandlers;
Line 973:              }
Line 974:              set {
Line 975:                  ASP.Parameters_aspx.__autoHandlers = value;
Line 976:              }
Line 977:          }
Line 978:          
Line 979:          protected ASP.Global_asax ApplicationInstance {
Line 980:              get {
Line 981:                  return ((ASP.Global_asax)(this.Context.ApplicationInstance));
Line 982:              }
Line 983:          }
Line 984:          
Line 985:          public override string TemplateSourceDirectory {
Line 986:              get {
Line 987:                  return "/MSPOS";
Line 988:              }
Line 989:          }
Line 990:          
Line 991:          private System.Web.UI.Control __BuildControlheader() {
Line 992:              ASP.header_ascx __ctrl;
Line 993:              
Line 994:              #line 353 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 995:              __ctrl = new ASP.header_ascx();
Line 996:              
Line 997:              #line default
Line 998:              #line hidden
Line 999:              this.header = __ctrl;
Line 1000:            
Line 1001:             #line 353 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1002:             this.header.InitializeAsUserControl(this.Page);
Line 1003:            
Line 1004:             #line default
Line 1005:             #line hidden
Line 1006:            
Line 1007:             #line 353 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1008:             __ctrl.ID = "header";
Line 1009:            
Line 1010:             #line default
Line 1011:             #line hidden
Line 1012:             return __ctrl;
Line 1013:         }
Line 1014:        
Line 1015:         private void __BuildControl__control2(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1016:            
Line 1017:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1018:             __ctrl.Wrap = false;
Line 1019:            
Line 1020:             #line default
Line 1021:             #line hidden
Line 1022:            
Line 1023:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1024:             __ctrl.ForeColor = ((System.Drawing.Color)(System.Drawing.Color.FromArgb(51, 0, 153)));
Line 1025:            
Line 1026:             #line default
Line 1027:             #line hidden
Line 1028:            
Line 1029:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1030:             __ctrl.BackColor = ((System.Drawing.Color)(System.Drawing.Color.FromArgb(255, 255, 204)));
Line 1031:            
Line 1032:             #line default
Line 1033:             #line hidden
Line 1034:         }
Line 1035:        
Line 1036:         private void __BuildControl__control3(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1037:            
Line 1038:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1039:             __ctrl.Font.Bold = true;
Line 1040:            
Line 1041:             #line default
Line 1042:             #line hidden
Line 1043:            
Line 1044:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1045:             __ctrl.Wrap = false;
Line 1046:            
Line 1047:             #line default
Line 1048:             #line hidden
Line 1049:            
Line 1050:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1051:             __ctrl.HorizontalAlign = System.Web.UI.WebControls.HorizontalAlign.Center;
Line 1052:            
Line 1053:             #line default
Line 1054:             #line hidden
Line 1055:            
Line 1056:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1057:             __ctrl.ForeColor = ((System.Drawing.Color)(System.Drawing.Color.FromArgb(102, 51, 153)));
Line 1058:            
Line 1059:             #line default
Line 1060:             #line hidden
Line 1061:            
Line 1062:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1063:             __ctrl.VerticalAlign = System.Web.UI.WebControls.VerticalAlign.Middle;
Line 1064:            
Line 1065:             #line default
Line 1066:             #line hidden
Line 1067:            
Line 1068:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1069:             __ctrl.BackColor = ((System.Drawing.Color)(System.Drawing.Color.FromArgb(255, 204, 102)));
Line 1070:            
Line 1071:             #line default
Line 1072:             #line hidden
Line 1073:         }
Line 1074:        
Line 1075:         private void __BuildControl__control4(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1076:            
Line 1077:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1078:             __ctrl.Wrap = false;
Line 1079:            
Line 1080:             #line default
Line 1081:             #line hidden
Line 1082:         }
Line 1083:        
Line 1084:         private void __BuildControl__control5(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1085:            
Line 1086:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1087:             __ctrl.Wrap = false;
Line 1088:            
Line 1089:             #line default
Line 1090:             #line hidden
Line 1091:            
Line 1092:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1093:             __ctrl.BackColor = System.Drawing.Color.PaleGoldenrod;
Line 1094:            
Line 1095:             #line default
Line 1096:             #line hidden
Line 1097:         }
Line 1098:        
Line 1099:         private void __BuildControl__control6(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1100:            
Line 1101:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1102:             __ctrl.Wrap = false;
Line 1103:            
Line 1104:             #line default
Line 1105:             #line hidden
Line 1106:            
Line 1107:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1108:             __ctrl.BackColor = System.Drawing.Color.Beige;
Line 1109:            
Line 1110:             #line default
Line 1111:             #line hidden
Line 1112:         }
Line 1113:        
Line 1114:         private void __BuildControl__control7(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1115:            
Line 1116:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1117:             __ctrl.Font.Bold = true;
Line 1118:            
Line 1119:             #line default
Line 1120:             #line hidden
Line 1121:            
Line 1122:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1123:             __ctrl.Wrap = false;
Line 1124:            
Line 1125:             #line default
Line 1126:             #line hidden
Line 1127:            
Line 1128:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1129:             __ctrl.ForeColor = System.Drawing.Color.White;
Line 1130:            
Line 1131:             #line default
Line 1132:             #line hidden
Line 1133:            
Line 1134:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1135:             __ctrl.BackColor = ((System.Drawing.Color)(System.Drawing.Color.FromArgb(149, 72, 150)));
Line 1136:            
Line 1137:             #line default
Line 1138:             #line hidden
Line 1139:         }
Line 1140:        
Line 1141:         private void __BuildControl__control10(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1142:            
Line 1143:             #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1144:             __ctrl.Wrap = false;
Line 1145:            
Line 1146:             #line default
Line 1147:             #line hidden
Line 1148:         }
Line 1149:        
Line 1150:         private void __BuildControl__control11(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1151:            
Line 1152:             #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1153:             __ctrl.Wrap = false;
Line 1154:            
Line 1155:             #line default
Line 1156:             #line hidden
Line 1157:         }
Line 1158:        
Line 1159:         private void __BuildControl__control12(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1160:            
Line 1161:             #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1162:             __ctrl.Wrap = false;
Line 1163:            
Line 1164:             #line default
Line 1165:             #line hidden
Line 1166:         }
Line 1167:        
Line 1168:         private void __BuildControl__control9() {
Line 1169:             System.Web.UI.WebControls.EditCommandColumn __ctrl;
Line 1170:            
Line 1171:             #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1172:             __ctrl = new System.Web.UI.WebControls.EditCommandColumn();
Line 1173:            
Line 1174:             #line default
Line 1175:             #line hidden
Line 1176:             this.__control9 = __ctrl;
Line 1177:            
Line 1178:             #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1179:             __ctrl.ButtonType = System.Web.UI.WebControls.ButtonColumnType.LinkButton;
Line 1180:            
Line 1181:             #line default
Line 1182:             #line hidden
Line 1183:            
Line 1184:             #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1185:             __ctrl.UpdateText = "<img src=images/Ok.gif border=0 align=absmiddle alt=\'Save changes\'>";
Line 1186:            
Line 1187:             #line default
Line 1188:             #line hidden
Line 1189:            
Line 1190:             #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1191:             __ctrl.CancelText = "<img src=images/Cancel.gif border=0 align=absmiddle alt=\'Cancel editing\'>";
Line 1192:            
Line 1193:             #line default
Line 1194:             #line hidden
Line 1195:            
Line 1196:             #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1197:             __ctrl.EditText = "<img src=images/icn_edit.gif border=0 align=absmiddle alt=\'Edit this item\'>";
Line 1198:            
Line 1199:             #line default
Line 1200:             #line hidden
Line 1201:            
Line 1202:             #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1203:             this.__BuildControl__control10(__ctrl.HeaderStyle);
Line 1204:            
Line 1205:             #line default
Line 1206:             #line hidden
Line 1207:            
Line 1208:             #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1209:             this.__BuildControl__control11(__ctrl.ItemStyle);
Line 1210:            
Line 1211:             #line default
Line 1212:             #line hidden
Line 1213:            
Line 1214:             #line 380 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1215:             this.__BuildControl__control12(__ctrl.FooterStyle);
Line 1216:            
Line 1217:             #line default
Line 1218:             #line hidden
Line 1219:         }
Line 1220:        
Line 1221:         private System.Web.UI.Control __BuildControl__control15() {
Line 1222:             System.Web.UI.WebControls.Label __ctrl;
Line 1223:            
Line 1224:             #line 391 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1225:             __ctrl = new System.Web.UI.WebControls.Label();
Line 1226:            
Line 1227:             #line default
Line 1228:             #line hidden
Line 1229:             this.__control15 = __ctrl;
Line 1230:            
Line 1231:             #line 391 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1232:             __ctrl.ID = "lblCommandID";
Line 1233:            
Line 1234:             #line default
Line 1235:             #line hidden
Line 1236:            
Line 1237:             #line 391 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1238:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control15);
Line 1239:            
Line 1240:             #line default
Line 1241:             #line hidden
Line 1242:             return __ctrl;
Line 1243:         }
Line 1244:        
Line 1245:         public void __DataBind__control15(object sender, System.EventArgs e) {
Line 1246:             System.Web.UI.WebControls.DataGridItem Container;
Line 1247:             System.Web.UI.WebControls.Label target;
Line 1248:            
Line 1249:             #line 391 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1250:             target = ((System.Web.UI.WebControls.Label)(sender));
Line 1251:            
Line 1252:             #line default
Line 1253:             #line hidden
Line 1254:            
Line 1255:             #line 391 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1256:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 1257:            
Line 1258:             #line default
Line 1259:             #line hidden
Line 1260:            
Line 1261:             #line 391 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1262:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"CM_REF")));
Line 1263:            
Line 1264:             #line default
Line 1265:             #line hidden
Line 1266:         }
Line 1267:        
Line 1268:         private void __BuildControl__control14(System.Web.UI.Control __ctrl) {
Line 1269:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 1270:            
Line 1271:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1272:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1273:            
Line 1274:             #line default
Line 1275:             #line hidden
Line 1276:            
Line 1277:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1278:             this.__BuildControl__control15();
Line 1279:            
Line 1280:             #line default
Line 1281:             #line hidden
Line 1282:            
Line 1283:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1284:             __parser.AddParsedSubObject(this.__control15);
Line 1285:            
Line 1286:             #line default
Line 1287:             #line hidden
Line 1288:            
Line 1289:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1290:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1291:            
Line 1292:             #line default
Line 1293:             #line hidden
Line 1294:         }
Line 1295:        
Line 1296:         private System.Web.UI.Control __BuildControl__control17() {
Line 1297:             System.Web.UI.WebControls.TextBox __ctrl;
Line 1298:            
Line 1299:             #line 396 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1300:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 1301:            
Line 1302:             #line default
Line 1303:             #line hidden
Line 1304:             this.__control17 = __ctrl;
Line 1305:            
Line 1306:             #line 396 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1307:             __ctrl.ID = "insertCommandID";
Line 1308:            
Line 1309:             #line default
Line 1310:             #line hidden
Line 1311:            
Line 1312:             #line 396 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1313:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("80px", System.Globalization.CultureInfo.InvariantCulture);
Line 1314:            
Line 1315:             #line default
Line 1316:             #line hidden
Line 1317:             return __ctrl;
Line 1318:         }
Line 1319:        
Line 1320:         private void __BuildControl__control16(System.Web.UI.Control __ctrl) {
Line 1321:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 1322:            
Line 1323:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1324:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1325:            
Line 1326:             #line default
Line 1327:             #line hidden
Line 1328:            
Line 1329:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1330:             this.__BuildControl__control17();
Line 1331:            
Line 1332:             #line default
Line 1333:             #line hidden
Line 1334:            
Line 1335:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1336:             __parser.AddParsedSubObject(this.__control17);
Line 1337:            
Line 1338:             #line default
Line 1339:             #line hidden
Line 1340:            
Line 1341:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1342:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1343:            
Line 1344:             #line default
Line 1345:             #line hidden
Line 1346:         }
Line 1347:        
Line 1348:         private System.Web.UI.Control __BuildControl__control19() {
Line 1349:             System.Web.UI.WebControls.TextBox __ctrl;
Line 1350:            
Line 1351:             #line 399 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1352:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 1353:            
Line 1354:             #line default
Line 1355:             #line hidden
Line 1356:             this.__control19 = __ctrl;
Line 1357:            
Line 1358:             #line 399 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1359:             __ctrl.ID = "editCommandID";
Line 1360:            
Line 1361:             #line default
Line 1362:             #line hidden
Line 1363:            
Line 1364:             #line 399 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1365:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("80px", System.Globalization.CultureInfo.InvariantCulture);
Line 1366:            
Line 1367:             #line default
Line 1368:             #line hidden
Line 1369:            
Line 1370:             #line 399 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1371:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control19);
Line 1372:            
Line 1373:             #line default
Line 1374:             #line hidden
Line 1375:             return __ctrl;
Line 1376:         }
Line 1377:        
Line 1378:         public void __DataBind__control19(object sender, System.EventArgs e) {
Line 1379:             System.Web.UI.WebControls.DataGridItem Container;
Line 1380:             System.Web.UI.WebControls.TextBox target;
Line 1381:            
Line 1382:             #line 399 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1383:             target = ((System.Web.UI.WebControls.TextBox)(sender));
Line 1384:            
Line 1385:             #line default
Line 1386:             #line hidden
Line 1387:            
Line 1388:             #line 399 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1389:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 1390:            
Line 1391:             #line default
Line 1392:             #line hidden
Line 1393:            
Line 1394:             #line 399 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1395:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"CM_REF")));
Line 1396:            
Line 1397:             #line default
Line 1398:             #line hidden
Line 1399:         }
Line 1400:        
Line 1401:         private void __BuildControl__control18(System.Web.UI.Control __ctrl) {
Line 1402:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 1403:            
Line 1404:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1405:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1406:            
Line 1407:             #line default
Line 1408:             #line hidden
Line 1409:            
Line 1410:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1411:             this.__BuildControl__control19();
Line 1412:            
Line 1413:             #line default
Line 1414:             #line hidden
Line 1415:            
Line 1416:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1417:             __parser.AddParsedSubObject(this.__control19);
Line 1418:            
Line 1419:             #line default
Line 1420:             #line hidden
Line 1421:            
Line 1422:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1423:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1424:            
Line 1425:             #line default
Line 1426:             #line hidden
Line 1427:         }
Line 1428:        
Line 1429:         private void __BuildControl__control20(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1430:            
Line 1431:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1432:             __ctrl.Wrap = false;
Line 1433:            
Line 1434:             #line default
Line 1435:             #line hidden
Line 1436:         }
Line 1437:        
Line 1438:         private void __BuildControl__control21(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1439:            
Line 1440:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1441:             __ctrl.Wrap = false;
Line 1442:            
Line 1443:             #line default
Line 1444:             #line hidden
Line 1445:         }
Line 1446:        
Line 1447:         private void __BuildControl__control22(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1448:            
Line 1449:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1450:             __ctrl.Wrap = false;
Line 1451:            
Line 1452:             #line default
Line 1453:             #line hidden
Line 1454:         }
Line 1455:        
Line 1456:         private void __BuildControl__control13() {
Line 1457:             System.Web.UI.WebControls.TemplateColumn __ctrl;
Line 1458:            
Line 1459:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1460:             __ctrl = new System.Web.UI.WebControls.TemplateColumn();
Line 1461:            
Line 1462:             #line default
Line 1463:             #line hidden
Line 1464:             this.__control13 = __ctrl;
Line 1465:            
Line 1466:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1467:             __ctrl.HeaderText = "Command ID";
Line 1468:            
Line 1469:             #line default
Line 1470:             #line hidden
Line 1471:            
Line 1472:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1473:             __ctrl.ItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control14));
Line 1474:            
Line 1475:             #line default
Line 1476:             #line hidden
Line 1477:            
Line 1478:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1479:             __ctrl.FooterTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control16));
Line 1480:            
Line 1481:             #line default
Line 1482:             #line hidden
Line 1483:            
Line 1484:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1485:             __ctrl.EditItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control18));
Line 1486:            
Line 1487:             #line default
Line 1488:             #line hidden
Line 1489:            
Line 1490:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1491:             this.__BuildControl__control20(__ctrl.HeaderStyle);
Line 1492:            
Line 1493:             #line default
Line 1494:             #line hidden
Line 1495:            
Line 1496:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1497:             this.__BuildControl__control21(__ctrl.ItemStyle);
Line 1498:            
Line 1499:             #line default
Line 1500:             #line hidden
Line 1501:            
Line 1502:             #line 387 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1503:             this.__BuildControl__control22(__ctrl.FooterStyle);
Line 1504:            
Line 1505:             #line default
Line 1506:             #line hidden
Line 1507:         }
Line 1508:        
Line 1509:         private System.Web.UI.Control __BuildControl__control25() {
Line 1510:             System.Web.UI.WebControls.Label __ctrl;
Line 1511:            
Line 1512:             #line 407 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1513:             __ctrl = new System.Web.UI.WebControls.Label();
Line 1514:            
Line 1515:             #line default
Line 1516:             #line hidden
Line 1517:             this.__control25 = __ctrl;
Line 1518:            
Line 1519:             #line 407 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1520:             __ctrl.ID = "lblParameterIndex";
Line 1521:            
Line 1522:             #line default
Line 1523:             #line hidden
Line 1524:            
Line 1525:             #line 407 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1526:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control25);
Line 1527:            
Line 1528:             #line default
Line 1529:             #line hidden
Line 1530:             return __ctrl;
Line 1531:         }
Line 1532:        
Line 1533:         public void __DataBind__control25(object sender, System.EventArgs e) {
Line 1534:             System.Web.UI.WebControls.DataGridItem Container;
Line 1535:             System.Web.UI.WebControls.Label target;
Line 1536:            
Line 1537:             #line 407 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1538:             target = ((System.Web.UI.WebControls.Label)(sender));
Line 1539:            
Line 1540:             #line default
Line 1541:             #line hidden
Line 1542:            
Line 1543:             #line 407 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1544:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 1545:            
Line 1546:             #line default
Line 1547:             #line hidden
Line 1548:            
Line 1549:             #line 407 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1550:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_INDEX")));
Line 1551:            
Line 1552:             #line default
Line 1553:             #line hidden
Line 1554:         }
Line 1555:        
Line 1556:         private void __BuildControl__control24(System.Web.UI.Control __ctrl) {
Line 1557:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 1558:            
Line 1559:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1560:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1561:            
Line 1562:             #line default
Line 1563:             #line hidden
Line 1564:            
Line 1565:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1566:             this.__BuildControl__control25();
Line 1567:            
Line 1568:             #line default
Line 1569:             #line hidden
Line 1570:            
Line 1571:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1572:             __parser.AddParsedSubObject(this.__control25);
Line 1573:            
Line 1574:             #line default
Line 1575:             #line hidden
Line 1576:            
Line 1577:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1578:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1579:            
Line 1580:             #line default
Line 1581:             #line hidden
Line 1582:         }
Line 1583:        
Line 1584:         private System.Web.UI.Control __BuildControl__control27() {
Line 1585:             System.Web.UI.WebControls.TextBox __ctrl;
Line 1586:            
Line 1587:             #line 412 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1588:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 1589:            
Line 1590:             #line default
Line 1591:             #line hidden
Line 1592:             this.__control27 = __ctrl;
Line 1593:            
Line 1594:             #line 412 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1595:             __ctrl.ID = "insertParameterIndex";
Line 1596:            
Line 1597:             #line default
Line 1598:             #line hidden
Line 1599:            
Line 1600:             #line 412 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1601:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("100px", System.Globalization.CultureInfo.InvariantCulture);
Line 1602:            
Line 1603:             #line default
Line 1604:             #line hidden
Line 1605:             return __ctrl;
Line 1606:         }
Line 1607:        
Line 1608:         private void __BuildControl__control26(System.Web.UI.Control __ctrl) {
Line 1609:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 1610:            
Line 1611:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1612:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1613:            
Line 1614:             #line default
Line 1615:             #line hidden
Line 1616:            
Line 1617:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1618:             this.__BuildControl__control27();
Line 1619:            
Line 1620:             #line default
Line 1621:             #line hidden
Line 1622:            
Line 1623:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1624:             __parser.AddParsedSubObject(this.__control27);
Line 1625:            
Line 1626:             #line default
Line 1627:             #line hidden
Line 1628:            
Line 1629:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1630:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1631:            
Line 1632:             #line default
Line 1633:             #line hidden
Line 1634:         }
Line 1635:        
Line 1636:         private System.Web.UI.Control __BuildControl__control29() {
Line 1637:             System.Web.UI.WebControls.TextBox __ctrl;
Line 1638:            
Line 1639:             #line 415 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1640:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 1641:            
Line 1642:             #line default
Line 1643:             #line hidden
Line 1644:             this.__control29 = __ctrl;
Line 1645:            
Line 1646:             #line 415 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1647:             __ctrl.ID = "editParameterIndex";
Line 1648:            
Line 1649:             #line default
Line 1650:             #line hidden
Line 1651:            
Line 1652:             #line 415 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1653:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("100px", System.Globalization.CultureInfo.InvariantCulture);
Line 1654:            
Line 1655:             #line default
Line 1656:             #line hidden
Line 1657:            
Line 1658:             #line 415 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1659:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control29);
Line 1660:            
Line 1661:             #line default
Line 1662:             #line hidden
Line 1663:             return __ctrl;
Line 1664:         }
Line 1665:        
Line 1666:         public void __DataBind__control29(object sender, System.EventArgs e) {
Line 1667:             System.Web.UI.WebControls.DataGridItem Container;
Line 1668:             System.Web.UI.WebControls.TextBox target;
Line 1669:            
Line 1670:             #line 415 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1671:             target = ((System.Web.UI.WebControls.TextBox)(sender));
Line 1672:            
Line 1673:             #line default
Line 1674:             #line hidden
Line 1675:            
Line 1676:             #line 415 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1677:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 1678:            
Line 1679:             #line default
Line 1680:             #line hidden
Line 1681:            
Line 1682:             #line 415 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1683:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_INDEX")));
Line 1684:            
Line 1685:             #line default
Line 1686:             #line hidden
Line 1687:         }
Line 1688:        
Line 1689:         private void __BuildControl__control28(System.Web.UI.Control __ctrl) {
Line 1690:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 1691:            
Line 1692:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1693:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1694:            
Line 1695:             #line default
Line 1696:             #line hidden
Line 1697:            
Line 1698:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1699:             this.__BuildControl__control29();
Line 1700:            
Line 1701:             #line default
Line 1702:             #line hidden
Line 1703:            
Line 1704:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1705:             __parser.AddParsedSubObject(this.__control29);
Line 1706:            
Line 1707:             #line default
Line 1708:             #line hidden
Line 1709:            
Line 1710:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1711:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1712:            
Line 1713:             #line default
Line 1714:             #line hidden
Line 1715:         }
Line 1716:        
Line 1717:         private void __BuildControl__control30(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1718:            
Line 1719:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1720:             __ctrl.Wrap = false;
Line 1721:            
Line 1722:             #line default
Line 1723:             #line hidden
Line 1724:         }
Line 1725:        
Line 1726:         private void __BuildControl__control31(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1727:            
Line 1728:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1729:             __ctrl.Wrap = false;
Line 1730:            
Line 1731:             #line default
Line 1732:             #line hidden
Line 1733:         }
Line 1734:        
Line 1735:         private void __BuildControl__control32(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 1736:            
Line 1737:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1738:             __ctrl.Wrap = false;
Line 1739:            
Line 1740:             #line default
Line 1741:             #line hidden
Line 1742:         }
Line 1743:        
Line 1744:         private void __BuildControl__control23() {
Line 1745:             System.Web.UI.WebControls.TemplateColumn __ctrl;
Line 1746:            
Line 1747:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1748:             __ctrl = new System.Web.UI.WebControls.TemplateColumn();
Line 1749:            
Line 1750:             #line default
Line 1751:             #line hidden
Line 1752:             this.__control23 = __ctrl;
Line 1753:            
Line 1754:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1755:             __ctrl.HeaderText = "Parameter Index";
Line 1756:            
Line 1757:             #line default
Line 1758:             #line hidden
Line 1759:            
Line 1760:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1761:             __ctrl.ItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control24));
Line 1762:            
Line 1763:             #line default
Line 1764:             #line hidden
Line 1765:            
Line 1766:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1767:             __ctrl.FooterTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control26));
Line 1768:            
Line 1769:             #line default
Line 1770:             #line hidden
Line 1771:            
Line 1772:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1773:             __ctrl.EditItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control28));
Line 1774:            
Line 1775:             #line default
Line 1776:             #line hidden
Line 1777:            
Line 1778:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1779:             this.__BuildControl__control30(__ctrl.HeaderStyle);
Line 1780:            
Line 1781:             #line default
Line 1782:             #line hidden
Line 1783:            
Line 1784:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1785:             this.__BuildControl__control31(__ctrl.ItemStyle);
Line 1786:            
Line 1787:             #line default
Line 1788:             #line hidden
Line 1789:            
Line 1790:             #line 403 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1791:             this.__BuildControl__control32(__ctrl.FooterStyle);
Line 1792:            
Line 1793:             #line default
Line 1794:             #line hidden
Line 1795:         }
Line 1796:        
Line 1797:         private System.Web.UI.Control __BuildControl__control35() {
Line 1798:             System.Web.UI.WebControls.Label __ctrl;
Line 1799:            
Line 1800:             #line 423 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1801:             __ctrl = new System.Web.UI.WebControls.Label();
Line 1802:            
Line 1803:             #line default
Line 1804:             #line hidden
Line 1805:             this.__control35 = __ctrl;
Line 1806:            
Line 1807:             #line 423 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1808:             __ctrl.ID = "lblName";
Line 1809:            
Line 1810:             #line default
Line 1811:             #line hidden
Line 1812:            
Line 1813:             #line 423 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1814:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control35);
Line 1815:            
Line 1816:             #line default
Line 1817:             #line hidden
Line 1818:             return __ctrl;
Line 1819:         }
Line 1820:        
Line 1821:         public void __DataBind__control35(object sender, System.EventArgs e) {
Line 1822:             System.Web.UI.WebControls.DataGridItem Container;
Line 1823:             System.Web.UI.WebControls.Label target;
Line 1824:            
Line 1825:             #line 423 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1826:             target = ((System.Web.UI.WebControls.Label)(sender));
Line 1827:            
Line 1828:             #line default
Line 1829:             #line hidden
Line 1830:            
Line 1831:             #line 423 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1832:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 1833:            
Line 1834:             #line default
Line 1835:             #line hidden
Line 1836:            
Line 1837:             #line 423 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1838:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_NAME")));
Line 1839:            
Line 1840:             #line default
Line 1841:             #line hidden
Line 1842:         }
Line 1843:        
Line 1844:         private void __BuildControl__control34(System.Web.UI.Control __ctrl) {
Line 1845:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 1846:            
Line 1847:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1848:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1849:            
Line 1850:             #line default
Line 1851:             #line hidden
Line 1852:            
Line 1853:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1854:             this.__BuildControl__control35();
Line 1855:            
Line 1856:             #line default
Line 1857:             #line hidden
Line 1858:            
Line 1859:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1860:             __parser.AddParsedSubObject(this.__control35);
Line 1861:            
Line 1862:             #line default
Line 1863:             #line hidden
Line 1864:            
Line 1865:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1866:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1867:            
Line 1868:             #line default
Line 1869:             #line hidden
Line 1870:         }
Line 1871:        
Line 1872:         private System.Web.UI.Control __BuildControl__control37() {
Line 1873:             System.Web.UI.WebControls.TextBox __ctrl;
Line 1874:            
Line 1875:             #line 428 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1876:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 1877:            
Line 1878:             #line default
Line 1879:             #line hidden
Line 1880:             this.__control37 = __ctrl;
Line 1881:            
Line 1882:             #line 428 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1883:             __ctrl.ID = "insertName";
Line 1884:            
Line 1885:             #line default
Line 1886:             #line hidden
Line 1887:            
Line 1888:             #line 428 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1889:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("110px", System.Globalization.CultureInfo.InvariantCulture);
Line 1890:            
Line 1891:             #line default
Line 1892:             #line hidden
Line 1893:             return __ctrl;
Line 1894:         }
Line 1895:        
Line 1896:         private void __BuildControl__control36(System.Web.UI.Control __ctrl) {
Line 1897:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 1898:            
Line 1899:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1900:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1901:            
Line 1902:             #line default
Line 1903:             #line hidden
Line 1904:            
Line 1905:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1906:             this.__BuildControl__control37();
Line 1907:            
Line 1908:             #line default
Line 1909:             #line hidden
Line 1910:            
Line 1911:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1912:             __parser.AddParsedSubObject(this.__control37);
Line 1913:            
Line 1914:             #line default
Line 1915:             #line hidden
Line 1916:            
Line 1917:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1918:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1919:            
Line 1920:             #line default
Line 1921:             #line hidden
Line 1922:         }
Line 1923:        
Line 1924:         private System.Web.UI.Control __BuildControl__control39() {
Line 1925:             System.Web.UI.WebControls.TextBox __ctrl;
Line 1926:            
Line 1927:             #line 431 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1928:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 1929:            
Line 1930:             #line default
Line 1931:             #line hidden
Line 1932:             this.__control39 = __ctrl;
Line 1933:            
Line 1934:             #line 431 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1935:             __ctrl.ID = "editName";
Line 1936:            
Line 1937:             #line default
Line 1938:             #line hidden
Line 1939:            
Line 1940:             #line 431 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1941:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("110px", System.Globalization.CultureInfo.InvariantCulture);
Line 1942:            
Line 1943:             #line default
Line 1944:             #line hidden
Line 1945:            
Line 1946:             #line 431 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1947:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control39);
Line 1948:            
Line 1949:             #line default
Line 1950:             #line hidden
Line 1951:             return __ctrl;
Line 1952:         }
Line 1953:        
Line 1954:         public void __DataBind__control39(object sender, System.EventArgs e) {
Line 1955:             System.Web.UI.WebControls.DataGridItem Container;
Line 1956:             System.Web.UI.WebControls.TextBox target;
Line 1957:            
Line 1958:             #line 431 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1959:             target = ((System.Web.UI.WebControls.TextBox)(sender));
Line 1960:            
Line 1961:             #line default
Line 1962:             #line hidden
Line 1963:            
Line 1964:             #line 431 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1965:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 1966:            
Line 1967:             #line default
Line 1968:             #line hidden
Line 1969:            
Line 1970:             #line 431 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1971:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_NAME")));
Line 1972:            
Line 1973:             #line default
Line 1974:             #line hidden
Line 1975:         }
Line 1976:        
Line 1977:         private void __BuildControl__control38(System.Web.UI.Control __ctrl) {
Line 1978:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 1979:            
Line 1980:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1981:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 1982:            
Line 1983:             #line default
Line 1984:             #line hidden
Line 1985:            
Line 1986:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1987:             this.__BuildControl__control39();
Line 1988:            
Line 1989:             #line default
Line 1990:             #line hidden
Line 1991:            
Line 1992:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1993:             __parser.AddParsedSubObject(this.__control39);
Line 1994:            
Line 1995:             #line default
Line 1996:             #line hidden
Line 1997:            
Line 1998:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 1999:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2000:            
Line 2001:             #line default
Line 2002:             #line hidden
Line 2003:         }
Line 2004:        
Line 2005:         private void __BuildControl__control40(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2006:            
Line 2007:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2008:             __ctrl.Wrap = false;
Line 2009:            
Line 2010:             #line default
Line 2011:             #line hidden
Line 2012:         }
Line 2013:        
Line 2014:         private void __BuildControl__control41(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2015:            
Line 2016:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2017:             __ctrl.Wrap = false;
Line 2018:            
Line 2019:             #line default
Line 2020:             #line hidden
Line 2021:         }
Line 2022:        
Line 2023:         private void __BuildControl__control42(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2024:            
Line 2025:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2026:             __ctrl.Wrap = false;
Line 2027:            
Line 2028:             #line default
Line 2029:             #line hidden
Line 2030:         }
Line 2031:        
Line 2032:         private void __BuildControl__control33() {
Line 2033:             System.Web.UI.WebControls.TemplateColumn __ctrl;
Line 2034:            
Line 2035:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2036:             __ctrl = new System.Web.UI.WebControls.TemplateColumn();
Line 2037:            
Line 2038:             #line default
Line 2039:             #line hidden
Line 2040:             this.__control33 = __ctrl;
Line 2041:            
Line 2042:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2043:             __ctrl.HeaderText = "Name";
Line 2044:            
Line 2045:             #line default
Line 2046:             #line hidden
Line 2047:            
Line 2048:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2049:             __ctrl.ItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control34));
Line 2050:            
Line 2051:             #line default
Line 2052:             #line hidden
Line 2053:            
Line 2054:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2055:             __ctrl.FooterTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control36));
Line 2056:            
Line 2057:             #line default
Line 2058:             #line hidden
Line 2059:            
Line 2060:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2061:             __ctrl.EditItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control38));
Line 2062:            
Line 2063:             #line default
Line 2064:             #line hidden
Line 2065:            
Line 2066:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2067:             this.__BuildControl__control40(__ctrl.HeaderStyle);
Line 2068:            
Line 2069:             #line default
Line 2070:             #line hidden
Line 2071:            
Line 2072:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2073:             this.__BuildControl__control41(__ctrl.ItemStyle);
Line 2074:            
Line 2075:             #line default
Line 2076:             #line hidden
Line 2077:            
Line 2078:             #line 419 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2079:             this.__BuildControl__control42(__ctrl.FooterStyle);
Line 2080:            
Line 2081:             #line default
Line 2082:             #line hidden
Line 2083:         }
Line 2084:        
Line 2085:         private System.Web.UI.Control __BuildControl__control45() {
Line 2086:             System.Web.UI.WebControls.Label __ctrl;
Line 2087:            
Line 2088:             #line 439 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2089:             __ctrl = new System.Web.UI.WebControls.Label();
Line 2090:            
Line 2091:             #line default
Line 2092:             #line hidden
Line 2093:             this.__control45 = __ctrl;
Line 2094:            
Line 2095:             #line 439 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2096:             __ctrl.ID = "lblDescription";
Line 2097:            
Line 2098:             #line default
Line 2099:             #line hidden
Line 2100:            
Line 2101:             #line 439 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2102:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control45);
Line 2103:            
Line 2104:             #line default
Line 2105:             #line hidden
Line 2106:             return __ctrl;
Line 2107:         }
Line 2108:        
Line 2109:         public void __DataBind__control45(object sender, System.EventArgs e) {
Line 2110:             System.Web.UI.WebControls.DataGridItem Container;
Line 2111:             System.Web.UI.WebControls.Label target;
Line 2112:            
Line 2113:             #line 439 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2114:             target = ((System.Web.UI.WebControls.Label)(sender));
Line 2115:            
Line 2116:             #line default
Line 2117:             #line hidden
Line 2118:            
Line 2119:             #line 439 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2120:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 2121:            
Line 2122:             #line default
Line 2123:             #line hidden
Line 2124:            
Line 2125:             #line 439 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2126:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_DESCRIPTION")));
Line 2127:            
Line 2128:             #line default
Line 2129:             #line hidden
Line 2130:         }
Line 2131:        
Line 2132:         private void __BuildControl__control44(System.Web.UI.Control __ctrl) {
Line 2133:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 2134:            
Line 2135:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2136:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2137:            
Line 2138:             #line default
Line 2139:             #line hidden
Line 2140:            
Line 2141:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2142:             this.__BuildControl__control45();
Line 2143:            
Line 2144:             #line default
Line 2145:             #line hidden
Line 2146:            
Line 2147:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2148:             __parser.AddParsedSubObject(this.__control45);
Line 2149:            
Line 2150:             #line default
Line 2151:             #line hidden
Line 2152:            
Line 2153:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2154:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2155:            
Line 2156:             #line default
Line 2157:             #line hidden
Line 2158:         }
Line 2159:        
Line 2160:         private System.Web.UI.Control __BuildControl__control47() {
Line 2161:             System.Web.UI.WebControls.TextBox __ctrl;
Line 2162:            
Line 2163:             #line 444 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2164:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 2165:            
Line 2166:             #line default
Line 2167:             #line hidden
Line 2168:             this.__control47 = __ctrl;
Line 2169:            
Line 2170:             #line 444 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2171:             __ctrl.ID = "insertDescription";
Line 2172:            
Line 2173:             #line default
Line 2174:             #line hidden
Line 2175:            
Line 2176:             #line 444 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2177:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("140px", System.Globalization.CultureInfo.InvariantCulture);
Line 2178:            
Line 2179:             #line default
Line 2180:             #line hidden
Line 2181:             return __ctrl;
Line 2182:         }
Line 2183:        
Line 2184:         private void __BuildControl__control46(System.Web.UI.Control __ctrl) {
Line 2185:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 2186:            
Line 2187:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2188:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2189:            
Line 2190:             #line default
Line 2191:             #line hidden
Line 2192:            
Line 2193:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2194:             this.__BuildControl__control47();
Line 2195:            
Line 2196:             #line default
Line 2197:             #line hidden
Line 2198:            
Line 2199:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2200:             __parser.AddParsedSubObject(this.__control47);
Line 2201:            
Line 2202:             #line default
Line 2203:             #line hidden
Line 2204:            
Line 2205:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2206:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2207:            
Line 2208:             #line default
Line 2209:             #line hidden
Line 2210:         }
Line 2211:        
Line 2212:         private System.Web.UI.Control __BuildControl__control49() {
Line 2213:             System.Web.UI.WebControls.TextBox __ctrl;
Line 2214:            
Line 2215:             #line 447 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2216:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 2217:            
Line 2218:             #line default
Line 2219:             #line hidden
Line 2220:             this.__control49 = __ctrl;
Line 2221:            
Line 2222:             #line 447 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2223:             __ctrl.ID = "editDescription";
Line 2224:            
Line 2225:             #line default
Line 2226:             #line hidden
Line 2227:            
Line 2228:             #line 447 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2229:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("140px", System.Globalization.CultureInfo.InvariantCulture);
Line 2230:            
Line 2231:             #line default
Line 2232:             #line hidden
Line 2233:            
Line 2234:             #line 447 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2235:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control49);
Line 2236:            
Line 2237:             #line default
Line 2238:             #line hidden
Line 2239:             return __ctrl;
Line 2240:         }
Line 2241:        
Line 2242:         public void __DataBind__control49(object sender, System.EventArgs e) {
Line 2243:             System.Web.UI.WebControls.DataGridItem Container;
Line 2244:             System.Web.UI.WebControls.TextBox target;
Line 2245:            
Line 2246:             #line 447 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2247:             target = ((System.Web.UI.WebControls.TextBox)(sender));
Line 2248:            
Line 2249:             #line default
Line 2250:             #line hidden
Line 2251:            
Line 2252:             #line 447 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2253:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 2254:            
Line 2255:             #line default
Line 2256:             #line hidden
Line 2257:            
Line 2258:             #line 447 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2259:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_DESCRIPTION")));
Line 2260:            
Line 2261:             #line default
Line 2262:             #line hidden
Line 2263:         }
Line 2264:        
Line 2265:         private void __BuildControl__control48(System.Web.UI.Control __ctrl) {
Line 2266:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 2267:            
Line 2268:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2269:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2270:            
Line 2271:             #line default
Line 2272:             #line hidden
Line 2273:            
Line 2274:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2275:             this.__BuildControl__control49();
Line 2276:            
Line 2277:             #line default
Line 2278:             #line hidden
Line 2279:            
Line 2280:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2281:             __parser.AddParsedSubObject(this.__control49);
Line 2282:            
Line 2283:             #line default
Line 2284:             #line hidden
Line 2285:            
Line 2286:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2287:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2288:            
Line 2289:             #line default
Line 2290:             #line hidden
Line 2291:         }
Line 2292:        
Line 2293:         private void __BuildControl__control50(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2294:            
Line 2295:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2296:             __ctrl.Wrap = false;
Line 2297:            
Line 2298:             #line default
Line 2299:             #line hidden
Line 2300:         }
Line 2301:        
Line 2302:         private void __BuildControl__control51(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2303:            
Line 2304:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2305:             __ctrl.Wrap = false;
Line 2306:            
Line 2307:             #line default
Line 2308:             #line hidden
Line 2309:         }
Line 2310:        
Line 2311:         private void __BuildControl__control52(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2312:            
Line 2313:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2314:             __ctrl.Wrap = false;
Line 2315:            
Line 2316:             #line default
Line 2317:             #line hidden
Line 2318:         }
Line 2319:        
Line 2320:         private void __BuildControl__control43() {
Line 2321:             System.Web.UI.WebControls.TemplateColumn __ctrl;
Line 2322:            
Line 2323:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2324:             __ctrl = new System.Web.UI.WebControls.TemplateColumn();
Line 2325:            
Line 2326:             #line default
Line 2327:             #line hidden
Line 2328:             this.__control43 = __ctrl;
Line 2329:            
Line 2330:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2331:             __ctrl.HeaderText = "Description";
Line 2332:            
Line 2333:             #line default
Line 2334:             #line hidden
Line 2335:            
Line 2336:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2337:             __ctrl.ItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control44));
Line 2338:            
Line 2339:             #line default
Line 2340:             #line hidden
Line 2341:            
Line 2342:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2343:             __ctrl.FooterTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control46));
Line 2344:            
Line 2345:             #line default
Line 2346:             #line hidden
Line 2347:            
Line 2348:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2349:             __ctrl.EditItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control48));
Line 2350:            
Line 2351:             #line default
Line 2352:             #line hidden
Line 2353:            
Line 2354:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2355:             this.__BuildControl__control50(__ctrl.HeaderStyle);
Line 2356:            
Line 2357:             #line default
Line 2358:             #line hidden
Line 2359:            
Line 2360:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2361:             this.__BuildControl__control51(__ctrl.ItemStyle);
Line 2362:            
Line 2363:             #line default
Line 2364:             #line hidden
Line 2365:            
Line 2366:             #line 435 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2367:             this.__BuildControl__control52(__ctrl.FooterStyle);
Line 2368:            
Line 2369:             #line default
Line 2370:             #line hidden
Line 2371:         }
Line 2372:        
Line 2373:         private System.Web.UI.Control __BuildControl__control55() {
Line 2374:             System.Web.UI.WebControls.Label __ctrl;
Line 2375:            
Line 2376:             #line 455 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2377:             __ctrl = new System.Web.UI.WebControls.Label();
Line 2378:            
Line 2379:             #line default
Line 2380:             #line hidden
Line 2381:             this.__control55 = __ctrl;
Line 2382:            
Line 2383:             #line 455 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2384:             __ctrl.ID = "lblType";
Line 2385:            
Line 2386:             #line default
Line 2387:             #line hidden
Line 2388:            
Line 2389:             #line 455 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2390:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control55);
Line 2391:            
Line 2392:             #line default
Line 2393:             #line hidden
Line 2394:             return __ctrl;
Line 2395:         }
Line 2396:        
Line 2397:         public void __DataBind__control55(object sender, System.EventArgs e) {
Line 2398:             System.Web.UI.WebControls.DataGridItem Container;
Line 2399:             System.Web.UI.WebControls.Label target;
Line 2400:            
Line 2401:             #line 455 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2402:             target = ((System.Web.UI.WebControls.Label)(sender));
Line 2403:            
Line 2404:             #line default
Line 2405:             #line hidden
Line 2406:            
Line 2407:             #line 455 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2408:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 2409:            
Line 2410:             #line default
Line 2411:             #line hidden
Line 2412:            
Line 2413:             #line 455 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2414:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"TYPENAME")));
Line 2415:            
Line 2416:             #line default
Line 2417:             #line hidden
Line 2418:         }
Line 2419:        
Line 2420:         private void __BuildControl__control54(System.Web.UI.Control __ctrl) {
Line 2421:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 2422:            
Line 2423:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2424:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2425:            
Line 2426:             #line default
Line 2427:             #line hidden
Line 2428:            
Line 2429:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2430:             this.__BuildControl__control55();
Line 2431:            
Line 2432:             #line default
Line 2433:             #line hidden
Line 2434:            
Line 2435:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2436:             __parser.AddParsedSubObject(this.__control55);
Line 2437:            
Line 2438:             #line default
Line 2439:             #line hidden
Line 2440:            
Line 2441:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2442:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2443:            
Line 2444:             #line default
Line 2445:             #line hidden
Line 2446:         }
Line 2447:        
Line 2448:         private System.Web.UI.Control __BuildControl__control57() {
Line 2449:             System.Web.UI.WebControls.DropDownList __ctrl;
Line 2450:            
Line 2451:             #line 460 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2452:             __ctrl = new System.Web.UI.WebControls.DropDownList();
Line 2453:            
Line 2454:             #line default
Line 2455:             #line hidden
Line 2456:             this.__control57 = __ctrl;
Line 2457:            
Line 2458:             #line 460 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2459:             __ctrl.ID = "insertTypes";
Line 2460:            
Line 2461:             #line default
Line 2462:             #line hidden
Line 2463:            
Line 2464:             #line 460 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2465:             __ctrl.DataValueField = "DT_REF";
Line 2466:            
Line 2467:             #line default
Line 2468:             #line hidden
Line 2469:            
Line 2470:             #line 460 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2471:             __ctrl.DataTextField = "DT_DESCRIPTION";
Line 2472:            
Line 2473:             #line default
Line 2474:             #line hidden
Line 2475:            
Line 2476:             #line 460 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2477:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control57);
Line 2478:            
Line 2479:             #line default
Line 2480:             #line hidden
Line 2481:             return __ctrl;
Line 2482:         }
Line 2483:        
Line 2484:         public void __DataBind__control57(object sender, System.EventArgs e) {
Line 2485:             System.Web.UI.WebControls.DataGridItem Container;
Line 2486:             System.Web.UI.WebControls.DropDownList target;
Line 2487:            
Line 2488:             #line 460 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2489:             target = ((System.Web.UI.WebControls.DropDownList)(sender));
Line 2490:            
Line 2491:             #line default
Line 2492:             #line hidden
Line 2493:            
Line 2494:             #line 460 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2495:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 2496:            
Line 2497:             #line default
Line 2498:             #line hidden
Line 2499:            
Line 2500:             #line 460 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2501:             target.DataSource = ((object)(BindTBDATATYPE()));
Line 2502:            
Line 2503:             #line default
Line 2504:             #line hidden
Line 2505:         }
Line 2506:        
Line 2507:         private void __BuildControl__control56(System.Web.UI.Control __ctrl) {
Line 2508:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 2509:            
Line 2510:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2511:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2512:            
Line 2513:             #line default
Line 2514:             #line hidden
Line 2515:            
Line 2516:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2517:             this.__BuildControl__control57();
Line 2518:            
Line 2519:             #line default
Line 2520:             #line hidden
Line 2521:            
Line 2522:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2523:             __parser.AddParsedSubObject(this.__control57);
Line 2524:            
Line 2525:             #line default
Line 2526:             #line hidden
Line 2527:            
Line 2528:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2529:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2530:            
Line 2531:             #line default
Line 2532:             #line hidden
Line 2533:         }
Line 2534:        
Line 2535:         private System.Web.UI.Control __BuildControl__control59() {
Line 2536:             System.Web.UI.WebControls.DropDownList __ctrl;
Line 2537:            
Line 2538:             #line 464 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2539:             __ctrl = new System.Web.UI.WebControls.DropDownList();
Line 2540:            
Line 2541:             #line default
Line 2542:             #line hidden
Line 2543:             this.__control59 = __ctrl;
Line 2544:            
Line 2545:             #line 464 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2546:             __ctrl.ID = "ddlDATATYPE";
Line 2547:            
Line 2548:             #line default
Line 2549:             #line hidden
Line 2550:            
Line 2551:             #line 464 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2552:             __ctrl.DataValueField = "DT_REF";
Line 2553:            
Line 2554:             #line default
Line 2555:             #line hidden
Line 2556:            
Line 2557:             #line 464 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2558:             __ctrl.DataTextField = "DT_DESCRIPTION";
Line 2559:            
Line 2560:             #line default
Line 2561:             #line hidden
Line 2562:            
Line 2563:             #line 464 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2564:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control59);
Line 2565:            
Line 2566:             #line default
Line 2567:             #line hidden
Line 2568:             return __ctrl;
Line 2569:         }
Line 2570:        
Line 2571:         public void __DataBind__control59(object sender, System.EventArgs e) {
Line 2572:             System.Web.UI.WebControls.DataGridItem Container;
Line 2573:             System.Web.UI.WebControls.DropDownList target;
Line 2574:            
Line 2575:             #line 464 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2576:             target = ((System.Web.UI.WebControls.DropDownList)(sender));
Line 2577:            
Line 2578:             #line default
Line 2579:             #line hidden
Line 2580:            
Line 2581:             #line 464 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2582:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 2583:            
Line 2584:             #line default
Line 2585:             #line hidden
Line 2586:            
Line 2587:             #line 464 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2588:             target.DataSource = ((object)(BindTBDATATYPE()));
Line 2589:            
Line 2590:             #line default
Line 2591:             #line hidden
Line 2592:            
Line 2593:             #line 464 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2594:             target.SelectedIndex = ((int)(GetSelectedIndexDATATYPE(DataBinder.Eval(Container.DataItem, "TYPENAME").ToString())));
Line 2595:            
Line 2596:             #line default
Line 2597:             #line hidden
Line 2598:         }
Line 2599:        
Line 2600:         private void __BuildControl__control58(System.Web.UI.Control __ctrl) {
Line 2601:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 2602:            
Line 2603:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2604:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2605:            
Line 2606:             #line default
Line 2607:             #line hidden
Line 2608:            
Line 2609:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2610:             this.__BuildControl__control59();
Line 2611:            
Line 2612:             #line default
Line 2613:             #line hidden
Line 2614:            
Line 2615:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2616:             __parser.AddParsedSubObject(this.__control59);
Line 2617:            
Line 2618:             #line default
Line 2619:             #line hidden
Line 2620:            
Line 2621:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2622:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2623:            
Line 2624:             #line default
Line 2625:             #line hidden
Line 2626:         }
Line 2627:        
Line 2628:         private void __BuildControl__control60(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2629:            
Line 2630:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2631:             __ctrl.Wrap = false;
Line 2632:            
Line 2633:             #line default
Line 2634:             #line hidden
Line 2635:         }
Line 2636:        
Line 2637:         private void __BuildControl__control61(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2638:            
Line 2639:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2640:             __ctrl.Wrap = false;
Line 2641:            
Line 2642:             #line default
Line 2643:             #line hidden
Line 2644:         }
Line 2645:        
Line 2646:         private void __BuildControl__control62(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2647:            
Line 2648:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2649:             __ctrl.Wrap = false;
Line 2650:            
Line 2651:             #line default
Line 2652:             #line hidden
Line 2653:         }
Line 2654:        
Line 2655:         private void __BuildControl__control53() {
Line 2656:             System.Web.UI.WebControls.TemplateColumn __ctrl;
Line 2657:            
Line 2658:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2659:             __ctrl = new System.Web.UI.WebControls.TemplateColumn();
Line 2660:            
Line 2661:             #line default
Line 2662:             #line hidden
Line 2663:             this.__control53 = __ctrl;
Line 2664:            
Line 2665:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2666:             __ctrl.HeaderText = "Type";
Line 2667:            
Line 2668:             #line default
Line 2669:             #line hidden
Line 2670:            
Line 2671:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2672:             __ctrl.ItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control54));
Line 2673:            
Line 2674:             #line default
Line 2675:             #line hidden
Line 2676:            
Line 2677:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2678:             __ctrl.FooterTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control56));
Line 2679:            
Line 2680:             #line default
Line 2681:             #line hidden
Line 2682:            
Line 2683:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2684:             __ctrl.EditItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control58));
Line 2685:            
Line 2686:             #line default
Line 2687:             #line hidden
Line 2688:            
Line 2689:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2690:             this.__BuildControl__control60(__ctrl.HeaderStyle);
Line 2691:            
Line 2692:             #line default
Line 2693:             #line hidden
Line 2694:            
Line 2695:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2696:             this.__BuildControl__control61(__ctrl.ItemStyle);
Line 2697:            
Line 2698:             #line default
Line 2699:             #line hidden
Line 2700:            
Line 2701:             #line 451 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2702:             this.__BuildControl__control62(__ctrl.FooterStyle);
Line 2703:            
Line 2704:             #line default
Line 2705:             #line hidden
Line 2706:         }
Line 2707:        
Line 2708:         private System.Web.UI.Control __BuildControl__control65() {
Line 2709:             System.Web.UI.WebControls.Label __ctrl;
Line 2710:            
Line 2711:             #line 472 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2712:             __ctrl = new System.Web.UI.WebControls.Label();
Line 2713:            
Line 2714:             #line default
Line 2715:             #line hidden
Line 2716:             this.__control65 = __ctrl;
Line 2717:            
Line 2718:             #line 472 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2719:             __ctrl.ID = "lblContent";
Line 2720:            
Line 2721:             #line default
Line 2722:             #line hidden
Line 2723:            
Line 2724:             #line 472 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2725:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control65);
Line 2726:            
Line 2727:             #line default
Line 2728:             #line hidden
Line 2729:             return __ctrl;
Line 2730:         }
Line 2731:        
Line 2732:         public void __DataBind__control65(object sender, System.EventArgs e) {
Line 2733:             System.Web.UI.WebControls.DataGridItem Container;
Line 2734:             System.Web.UI.WebControls.Label target;
Line 2735:            
Line 2736:             #line 472 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2737:             target = ((System.Web.UI.WebControls.Label)(sender));
Line 2738:            
Line 2739:             #line default
Line 2740:             #line hidden
Line 2741:            
Line 2742:             #line 472 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2743:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 2744:            
Line 2745:             #line default
Line 2746:             #line hidden
Line 2747:            
Line 2748:             #line 472 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2749:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_CONTENT")));
Line 2750:            
Line 2751:             #line default
Line 2752:             #line hidden
Line 2753:         }
Line 2754:        
Line 2755:         private void __BuildControl__control64(System.Web.UI.Control __ctrl) {
Line 2756:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 2757:            
Line 2758:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2759:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2760:            
Line 2761:             #line default
Line 2762:             #line hidden
Line 2763:            
Line 2764:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2765:             this.__BuildControl__control65();
Line 2766:            
Line 2767:             #line default
Line 2768:             #line hidden
Line 2769:            
Line 2770:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2771:             __parser.AddParsedSubObject(this.__control65);
Line 2772:            
Line 2773:             #line default
Line 2774:             #line hidden
Line 2775:            
Line 2776:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2777:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2778:            
Line 2779:             #line default
Line 2780:             #line hidden
Line 2781:         }
Line 2782:        
Line 2783:         private System.Web.UI.Control __BuildControl__control67() {
Line 2784:             System.Web.UI.WebControls.TextBox __ctrl;
Line 2785:            
Line 2786:             #line 477 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2787:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 2788:            
Line 2789:             #line default
Line 2790:             #line hidden
Line 2791:             this.__control67 = __ctrl;
Line 2792:            
Line 2793:             #line 477 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2794:             __ctrl.ID = "insertContent";
Line 2795:            
Line 2796:             #line default
Line 2797:             #line hidden
Line 2798:            
Line 2799:             #line 477 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2800:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("60px", System.Globalization.CultureInfo.InvariantCulture);
Line 2801:            
Line 2802:             #line default
Line 2803:             #line hidden
Line 2804:             return __ctrl;
Line 2805:         }
Line 2806:        
Line 2807:         private void __BuildControl__control66(System.Web.UI.Control __ctrl) {
Line 2808:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 2809:            
Line 2810:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2811:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2812:            
Line 2813:             #line default
Line 2814:             #line hidden
Line 2815:            
Line 2816:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2817:             this.__BuildControl__control67();
Line 2818:            
Line 2819:             #line default
Line 2820:             #line hidden
Line 2821:            
Line 2822:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2823:             __parser.AddParsedSubObject(this.__control67);
Line 2824:            
Line 2825:             #line default
Line 2826:             #line hidden
Line 2827:            
Line 2828:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2829:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2830:            
Line 2831:             #line default
Line 2832:             #line hidden
Line 2833:         }
Line 2834:        
Line 2835:         private System.Web.UI.Control __BuildControl__control69() {
Line 2836:             System.Web.UI.WebControls.TextBox __ctrl;
Line 2837:            
Line 2838:             #line 480 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2839:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 2840:            
Line 2841:             #line default
Line 2842:             #line hidden
Line 2843:             this.__control69 = __ctrl;
Line 2844:            
Line 2845:             #line 480 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2846:             __ctrl.ID = "editContent";
Line 2847:            
Line 2848:             #line default
Line 2849:             #line hidden
Line 2850:            
Line 2851:             #line 480 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2852:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("60px", System.Globalization.CultureInfo.InvariantCulture);
Line 2853:            
Line 2854:             #line default
Line 2855:             #line hidden
Line 2856:            
Line 2857:             #line 480 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2858:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control69);
Line 2859:            
Line 2860:             #line default
Line 2861:             #line hidden
Line 2862:             return __ctrl;
Line 2863:         }
Line 2864:        
Line 2865:         public void __DataBind__control69(object sender, System.EventArgs e) {
Line 2866:             System.Web.UI.WebControls.DataGridItem Container;
Line 2867:             System.Web.UI.WebControls.TextBox target;
Line 2868:            
Line 2869:             #line 480 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2870:             target = ((System.Web.UI.WebControls.TextBox)(sender));
Line 2871:            
Line 2872:             #line default
Line 2873:             #line hidden
Line 2874:            
Line 2875:             #line 480 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2876:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 2877:            
Line 2878:             #line default
Line 2879:             #line hidden
Line 2880:            
Line 2881:             #line 480 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2882:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_CONTENT")));
Line 2883:            
Line 2884:             #line default
Line 2885:             #line hidden
Line 2886:         }
Line 2887:        
Line 2888:         private void __BuildControl__control68(System.Web.UI.Control __ctrl) {
Line 2889:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 2890:            
Line 2891:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2892:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2893:            
Line 2894:             #line default
Line 2895:             #line hidden
Line 2896:            
Line 2897:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2898:             this.__BuildControl__control69();
Line 2899:            
Line 2900:             #line default
Line 2901:             #line hidden
Line 2902:            
Line 2903:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2904:             __parser.AddParsedSubObject(this.__control69);
Line 2905:            
Line 2906:             #line default
Line 2907:             #line hidden
Line 2908:            
Line 2909:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2910:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 2911:            
Line 2912:             #line default
Line 2913:             #line hidden
Line 2914:         }
Line 2915:        
Line 2916:         private void __BuildControl__control70(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2917:            
Line 2918:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2919:             __ctrl.Wrap = false;
Line 2920:            
Line 2921:             #line default
Line 2922:             #line hidden
Line 2923:         }
Line 2924:        
Line 2925:         private void __BuildControl__control71(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2926:            
Line 2927:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2928:             __ctrl.Wrap = false;
Line 2929:            
Line 2930:             #line default
Line 2931:             #line hidden
Line 2932:         }
Line 2933:        
Line 2934:         private void __BuildControl__control72(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 2935:            
Line 2936:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2937:             __ctrl.Wrap = false;
Line 2938:            
Line 2939:             #line default
Line 2940:             #line hidden
Line 2941:         }
Line 2942:        
Line 2943:         private void __BuildControl__control63() {
Line 2944:             System.Web.UI.WebControls.TemplateColumn __ctrl;
Line 2945:            
Line 2946:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2947:             __ctrl = new System.Web.UI.WebControls.TemplateColumn();
Line 2948:            
Line 2949:             #line default
Line 2950:             #line hidden
Line 2951:             this.__control63 = __ctrl;
Line 2952:            
Line 2953:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2954:             __ctrl.HeaderText = "Content";
Line 2955:            
Line 2956:             #line default
Line 2957:             #line hidden
Line 2958:            
Line 2959:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2960:             __ctrl.ItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control64));
Line 2961:            
Line 2962:             #line default
Line 2963:             #line hidden
Line 2964:            
Line 2965:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2966:             __ctrl.FooterTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control66));
Line 2967:            
Line 2968:             #line default
Line 2969:             #line hidden
Line 2970:            
Line 2971:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2972:             __ctrl.EditItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control68));
Line 2973:            
Line 2974:             #line default
Line 2975:             #line hidden
Line 2976:            
Line 2977:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2978:             this.__BuildControl__control70(__ctrl.HeaderStyle);
Line 2979:            
Line 2980:             #line default
Line 2981:             #line hidden
Line 2982:            
Line 2983:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2984:             this.__BuildControl__control71(__ctrl.ItemStyle);
Line 2985:            
Line 2986:             #line default
Line 2987:             #line hidden
Line 2988:            
Line 2989:             #line 468 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 2990:             this.__BuildControl__control72(__ctrl.FooterStyle);
Line 2991:            
Line 2992:             #line default
Line 2993:             #line hidden
Line 2994:         }
Line 2995:        
Line 2996:         private System.Web.UI.Control __BuildControl__control75() {
Line 2997:             System.Web.UI.WebControls.Label __ctrl;
Line 2998:            
Line 2999:             #line 488 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3000:             __ctrl = new System.Web.UI.WebControls.Label();
Line 3001:            
Line 3002:             #line default
Line 3003:             #line hidden
Line 3004:             this.__control75 = __ctrl;
Line 3005:            
Line 3006:             #line 488 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3007:             __ctrl.ID = "lblDirection";
Line 3008:            
Line 3009:             #line default
Line 3010:             #line hidden
Line 3011:            
Line 3012:             #line 488 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3013:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control75);
Line 3014:            
Line 3015:             #line default
Line 3016:             #line hidden
Line 3017:             return __ctrl;
Line 3018:         }
Line 3019:        
Line 3020:         public void __DataBind__control75(object sender, System.EventArgs e) {
Line 3021:             System.Web.UI.WebControls.DataGridItem Container;
Line 3022:             System.Web.UI.WebControls.Label target;
Line 3023:            
Line 3024:             #line 488 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3025:             target = ((System.Web.UI.WebControls.Label)(sender));
Line 3026:            
Line 3027:             #line default
Line 3028:             #line hidden
Line 3029:            
Line 3030:             #line 488 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3031:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 3032:            
Line 3033:             #line default
Line 3034:             #line hidden
Line 3035:            
Line 3036:             #line 488 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3037:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"DIRECTIONNAME")));
Line 3038:            
Line 3039:             #line default
Line 3040:             #line hidden
Line 3041:         }
Line 3042:        
Line 3043:         private void __BuildControl__control74(System.Web.UI.Control __ctrl) {
Line 3044:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 3045:            
Line 3046:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3047:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3048:            
Line 3049:             #line default
Line 3050:             #line hidden
Line 3051:            
Line 3052:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3053:             this.__BuildControl__control75();
Line 3054:            
Line 3055:             #line default
Line 3056:             #line hidden
Line 3057:            
Line 3058:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3059:             __parser.AddParsedSubObject(this.__control75);
Line 3060:            
Line 3061:             #line default
Line 3062:             #line hidden
Line 3063:            
Line 3064:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3065:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3066:            
Line 3067:             #line default
Line 3068:             #line hidden
Line 3069:         }
Line 3070:        
Line 3071:         private System.Web.UI.Control __BuildControl__control77() {
Line 3072:             System.Web.UI.WebControls.DropDownList __ctrl;
Line 3073:            
Line 3074:             #line 493 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3075:             __ctrl = new System.Web.UI.WebControls.DropDownList();
Line 3076:            
Line 3077:             #line default
Line 3078:             #line hidden
Line 3079:             this.__control77 = __ctrl;
Line 3080:            
Line 3081:             #line 493 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3082:             __ctrl.ID = "insertDirection";
Line 3083:            
Line 3084:             #line default
Line 3085:             #line hidden
Line 3086:            
Line 3087:             #line 493 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3088:             __ctrl.DataValueField = "PD_REF";
Line 3089:            
Line 3090:             #line default
Line 3091:             #line hidden
Line 3092:            
Line 3093:             #line 493 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3094:             __ctrl.DataTextField = "PD_DESCRIPTION";
Line 3095:            
Line 3096:             #line default
Line 3097:             #line hidden
Line 3098:            
Line 3099:             #line 493 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3100:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control77);
Line 3101:            
Line 3102:             #line default
Line 3103:             #line hidden
Line 3104:             return __ctrl;
Line 3105:         }
Line 3106:        
Line 3107:         public void __DataBind__control77(object sender, System.EventArgs e) {
Line 3108:             System.Web.UI.WebControls.DataGridItem Container;
Line 3109:             System.Web.UI.WebControls.DropDownList target;
Line 3110:            
Line 3111:             #line 493 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3112:             target = ((System.Web.UI.WebControls.DropDownList)(sender));
Line 3113:            
Line 3114:             #line default
Line 3115:             #line hidden
Line 3116:            
Line 3117:             #line 493 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3118:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 3119:            
Line 3120:             #line default
Line 3121:             #line hidden
Line 3122:            
Line 3123:             #line 493 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3124:             target.DataSource = ((object)(BindTBPARAMDIRECTION()));
Line 3125:            
Line 3126:             #line default
Line 3127:             #line hidden
Line 3128:         }
Line 3129:        
Line 3130:         private void __BuildControl__control76(System.Web.UI.Control __ctrl) {
Line 3131:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 3132:            
Line 3133:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3134:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3135:            
Line 3136:             #line default
Line 3137:             #line hidden
Line 3138:            
Line 3139:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3140:             this.__BuildControl__control77();
Line 3141:            
Line 3142:             #line default
Line 3143:             #line hidden
Line 3144:            
Line 3145:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3146:             __parser.AddParsedSubObject(this.__control77);
Line 3147:            
Line 3148:             #line default
Line 3149:             #line hidden
Line 3150:            
Line 3151:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3152:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3153:            
Line 3154:             #line default
Line 3155:             #line hidden
Line 3156:         }
Line 3157:        
Line 3158:         private System.Web.UI.Control __BuildControl__control79() {
Line 3159:             System.Web.UI.WebControls.DropDownList __ctrl;
Line 3160:            
Line 3161:             #line 497 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3162:             __ctrl = new System.Web.UI.WebControls.DropDownList();
Line 3163:            
Line 3164:             #line default
Line 3165:             #line hidden
Line 3166:             this.__control79 = __ctrl;
Line 3167:            
Line 3168:             #line 497 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3169:             __ctrl.ID = "ddlPARAMDIRECTION";
Line 3170:            
Line 3171:             #line default
Line 3172:             #line hidden
Line 3173:            
Line 3174:             #line 497 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3175:             __ctrl.DataValueField = "PD_REF";
Line 3176:            
Line 3177:             #line default
Line 3178:             #line hidden
Line 3179:            
Line 3180:             #line 497 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3181:             __ctrl.DataTextField = "PD_DESCRIPTION";
Line 3182:            
Line 3183:             #line default
Line 3184:             #line hidden
Line 3185:            
Line 3186:             #line 497 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3187:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control79);
Line 3188:            
Line 3189:             #line default
Line 3190:             #line hidden
Line 3191:             return __ctrl;
Line 3192:         }
Line 3193:        
Line 3194:         public void __DataBind__control79(object sender, System.EventArgs e) {
Line 3195:             System.Web.UI.WebControls.DataGridItem Container;
Line 3196:             System.Web.UI.WebControls.DropDownList target;
Line 3197:            
Line 3198:             #line 497 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3199:             target = ((System.Web.UI.WebControls.DropDownList)(sender));
Line 3200:            
Line 3201:             #line default
Line 3202:             #line hidden
Line 3203:            
Line 3204:             #line 497 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3205:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 3206:            
Line 3207:             #line default
Line 3208:             #line hidden
Line 3209:            
Line 3210:             #line 497 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3211:             target.DataSource = ((object)(BindTBPARAMDIRECTION()));
Line 3212:            
Line 3213:             #line default
Line 3214:             #line hidden
Line 3215:            
Line 3216:             #line 497 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3217:             target.SelectedIndex = ((int)(GetSelectedIndexPARAMDIRECTION(DataBinder.Eval(Container.DataItem, "DIRECTIONNAME").ToString())));
Line 3218:            
Line 3219:             #line default
Line 3220:             #line hidden
Line 3221:         }
Line 3222:        
Line 3223:         private void __BuildControl__control78(System.Web.UI.Control __ctrl) {
Line 3224:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 3225:            
Line 3226:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3227:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3228:            
Line 3229:             #line default
Line 3230:             #line hidden
Line 3231:            
Line 3232:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3233:             this.__BuildControl__control79();
Line 3234:            
Line 3235:             #line default
Line 3236:             #line hidden
Line 3237:            
Line 3238:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3239:             __parser.AddParsedSubObject(this.__control79);
Line 3240:            
Line 3241:             #line default
Line 3242:             #line hidden
Line 3243:            
Line 3244:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3245:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3246:            
Line 3247:             #line default
Line 3248:             #line hidden
Line 3249:         }
Line 3250:        
Line 3251:         private void __BuildControl__control80(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 3252:            
Line 3253:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3254:             __ctrl.Wrap = false;
Line 3255:            
Line 3256:             #line default
Line 3257:             #line hidden
Line 3258:         }
Line 3259:        
Line 3260:         private void __BuildControl__control81(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 3261:            
Line 3262:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3263:             __ctrl.Wrap = false;
Line 3264:            
Line 3265:             #line default
Line 3266:             #line hidden
Line 3267:         }
Line 3268:        
Line 3269:         private void __BuildControl__control82(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 3270:            
Line 3271:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3272:             __ctrl.Wrap = false;
Line 3273:            
Line 3274:             #line default
Line 3275:             #line hidden
Line 3276:         }
Line 3277:        
Line 3278:         private void __BuildControl__control73() {
Line 3279:             System.Web.UI.WebControls.TemplateColumn __ctrl;
Line 3280:            
Line 3281:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3282:             __ctrl = new System.Web.UI.WebControls.TemplateColumn();
Line 3283:            
Line 3284:             #line default
Line 3285:             #line hidden
Line 3286:             this.__control73 = __ctrl;
Line 3287:            
Line 3288:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3289:             __ctrl.HeaderText = "Direction";
Line 3290:            
Line 3291:             #line default
Line 3292:             #line hidden
Line 3293:            
Line 3294:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3295:             __ctrl.ItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control74));
Line 3296:            
Line 3297:             #line default
Line 3298:             #line hidden
Line 3299:            
Line 3300:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3301:             __ctrl.FooterTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control76));
Line 3302:            
Line 3303:             #line default
Line 3304:             #line hidden
Line 3305:            
Line 3306:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3307:             __ctrl.EditItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control78));
Line 3308:            
Line 3309:             #line default
Line 3310:             #line hidden
Line 3311:            
Line 3312:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3313:             this.__BuildControl__control80(__ctrl.HeaderStyle);
Line 3314:            
Line 3315:             #line default
Line 3316:             #line hidden
Line 3317:            
Line 3318:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3319:             this.__BuildControl__control81(__ctrl.ItemStyle);
Line 3320:            
Line 3321:             #line default
Line 3322:             #line hidden
Line 3323:            
Line 3324:             #line 484 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3325:             this.__BuildControl__control82(__ctrl.FooterStyle);
Line 3326:            
Line 3327:             #line default
Line 3328:             #line hidden
Line 3329:         }
Line 3330:        
Line 3331:         private System.Web.UI.Control __BuildControl__control85() {
Line 3332:             System.Web.UI.WebControls.Label __ctrl;
Line 3333:            
Line 3334:             #line 505 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3335:             __ctrl = new System.Web.UI.WebControls.Label();
Line 3336:            
Line 3337:             #line default
Line 3338:             #line hidden
Line 3339:             this.__control85 = __ctrl;
Line 3340:            
Line 3341:             #line 505 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3342:             __ctrl.ID = "lblLength";
Line 3343:            
Line 3344:             #line default
Line 3345:             #line hidden
Line 3346:            
Line 3347:             #line 505 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3348:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control85);
Line 3349:            
Line 3350:             #line default
Line 3351:             #line hidden
Line 3352:             return __ctrl;
Line 3353:         }
Line 3354:        
Line 3355:         public void __DataBind__control85(object sender, System.EventArgs e) {
Line 3356:             System.Web.UI.WebControls.DataGridItem Container;
Line 3357:             System.Web.UI.WebControls.Label target;
Line 3358:            
Line 3359:             #line 505 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3360:             target = ((System.Web.UI.WebControls.Label)(sender));
Line 3361:            
Line 3362:             #line default
Line 3363:             #line hidden
Line 3364:            
Line 3365:             #line 505 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3366:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 3367:            
Line 3368:             #line default
Line 3369:             #line hidden
Line 3370:            
Line 3371:             #line 505 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3372:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_LENGTH")));
Line 3373:            
Line 3374:             #line default
Line 3375:             #line hidden
Line 3376:         }
Line 3377:        
Line 3378:         private void __BuildControl__control84(System.Web.UI.Control __ctrl) {
Line 3379:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 3380:            
Line 3381:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3382:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3383:            
Line 3384:             #line default
Line 3385:             #line hidden
Line 3386:            
Line 3387:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3388:             this.__BuildControl__control85();
Line 3389:            
Line 3390:             #line default
Line 3391:             #line hidden
Line 3392:            
Line 3393:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3394:             __parser.AddParsedSubObject(this.__control85);
Line 3395:            
Line 3396:             #line default
Line 3397:             #line hidden
Line 3398:            
Line 3399:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3400:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3401:            
Line 3402:             #line default
Line 3403:             #line hidden
Line 3404:         }
Line 3405:        
Line 3406:         private System.Web.UI.Control __BuildControl__control87() {
Line 3407:             System.Web.UI.WebControls.TextBox __ctrl;
Line 3408:            
Line 3409:             #line 510 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3410:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 3411:            
Line 3412:             #line default
Line 3413:             #line hidden
Line 3414:             this.__control87 = __ctrl;
Line 3415:            
Line 3416:             #line 510 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3417:             __ctrl.ID = "insertLength";
Line 3418:            
Line 3419:             #line default
Line 3420:             #line hidden
Line 3421:            
Line 3422:             #line 510 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3423:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("50px", System.Globalization.CultureInfo.InvariantCulture);
Line 3424:            
Line 3425:             #line default
Line 3426:             #line hidden
Line 3427:             return __ctrl;
Line 3428:         }
Line 3429:        
Line 3430:         private void __BuildControl__control86(System.Web.UI.Control __ctrl) {
Line 3431:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 3432:            
Line 3433:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3434:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3435:            
Line 3436:             #line default
Line 3437:             #line hidden
Line 3438:            
Line 3439:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3440:             this.__BuildControl__control87();
Line 3441:            
Line 3442:             #line default
Line 3443:             #line hidden
Line 3444:            
Line 3445:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3446:             __parser.AddParsedSubObject(this.__control87);
Line 3447:            
Line 3448:             #line default
Line 3449:             #line hidden
Line 3450:            
Line 3451:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3452:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3453:            
Line 3454:             #line default
Line 3455:             #line hidden
Line 3456:         }
Line 3457:        
Line 3458:         private System.Web.UI.Control __BuildControl__control89() {
Line 3459:             System.Web.UI.WebControls.TextBox __ctrl;
Line 3460:            
Line 3461:             #line 513 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3462:             __ctrl = new System.Web.UI.WebControls.TextBox();
Line 3463:            
Line 3464:             #line default
Line 3465:             #line hidden
Line 3466:             this.__control89 = __ctrl;
Line 3467:            
Line 3468:             #line 513 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3469:             __ctrl.ID = "editLength";
Line 3470:            
Line 3471:             #line default
Line 3472:             #line hidden
Line 3473:            
Line 3474:             #line 513 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3475:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("50px", System.Globalization.CultureInfo.InvariantCulture);
Line 3476:            
Line 3477:             #line default
Line 3478:             #line hidden
Line 3479:            
Line 3480:             #line 513 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3481:             __ctrl.DataBinding += new System.EventHandler(this.__DataBind__control89);
Line 3482:            
Line 3483:             #line default
Line 3484:             #line hidden
Line 3485:             return __ctrl;
Line 3486:         }
Line 3487:        
Line 3488:         public void __DataBind__control89(object sender, System.EventArgs e) {
Line 3489:             System.Web.UI.WebControls.DataGridItem Container;
Line 3490:             System.Web.UI.WebControls.TextBox target;
Line 3491:            
Line 3492:             #line 513 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3493:             target = ((System.Web.UI.WebControls.TextBox)(sender));
Line 3494:            
Line 3495:             #line default
Line 3496:             #line hidden
Line 3497:            
Line 3498:             #line 513 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3499:             Container = ((System.Web.UI.WebControls.DataGridItem)(target.BindingContainer));
Line 3500:            
Line 3501:             #line default
Line 3502:             #line hidden
Line 3503:            
Line 3504:             #line 513 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3505:             target.Text = System.Convert.ToString(Convert.ToString(DataBinder.Eval(Container.DataItem,"PM_LENGTH")));
Line 3506:            
Line 3507:             #line default
Line 3508:             #line hidden
Line 3509:         }
Line 3510:        
Line 3511:         private void __BuildControl__control88(System.Web.UI.Control __ctrl) {
Line 3512:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 3513:            
Line 3514:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3515:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3516:            
Line 3517:             #line default
Line 3518:             #line hidden
Line 3519:            
Line 3520:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3521:             this.__BuildControl__control89();
Line 3522:            
Line 3523:             #line default
Line 3524:             #line hidden
Line 3525:            
Line 3526:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3527:             __parser.AddParsedSubObject(this.__control89);
Line 3528:            
Line 3529:             #line default
Line 3530:             #line hidden
Line 3531:            
Line 3532:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3533:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3534:            
Line 3535:             #line default
Line 3536:             #line hidden
Line 3537:         }
Line 3538:        
Line 3539:         private void __BuildControl__control90(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 3540:            
Line 3541:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3542:             __ctrl.Wrap = false;
Line 3543:            
Line 3544:             #line default
Line 3545:             #line hidden
Line 3546:         }
Line 3547:        
Line 3548:         private void __BuildControl__control91(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 3549:            
Line 3550:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3551:             __ctrl.Wrap = false;
Line 3552:            
Line 3553:             #line default
Line 3554:             #line hidden
Line 3555:         }
Line 3556:        
Line 3557:         private void __BuildControl__control92(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 3558:            
Line 3559:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3560:             __ctrl.Wrap = false;
Line 3561:            
Line 3562:             #line default
Line 3563:             #line hidden
Line 3564:         }
Line 3565:        
Line 3566:         private void __BuildControl__control83() {
Line 3567:             System.Web.UI.WebControls.TemplateColumn __ctrl;
Line 3568:            
Line 3569:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3570:             __ctrl = new System.Web.UI.WebControls.TemplateColumn();
Line 3571:            
Line 3572:             #line default
Line 3573:             #line hidden
Line 3574:             this.__control83 = __ctrl;
Line 3575:            
Line 3576:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3577:             __ctrl.HeaderText = "Length";
Line 3578:            
Line 3579:             #line default
Line 3580:             #line hidden
Line 3581:            
Line 3582:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3583:             __ctrl.ItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control84));
Line 3584:            
Line 3585:             #line default
Line 3586:             #line hidden
Line 3587:            
Line 3588:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3589:             __ctrl.FooterTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control86));
Line 3590:            
Line 3591:             #line default
Line 3592:             #line hidden
Line 3593:            
Line 3594:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3595:             __ctrl.EditItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control88));
Line 3596:            
Line 3597:             #line default
Line 3598:             #line hidden
Line 3599:            
Line 3600:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3601:             this.__BuildControl__control90(__ctrl.HeaderStyle);
Line 3602:            
Line 3603:             #line default
Line 3604:             #line hidden
Line 3605:            
Line 3606:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3607:             this.__BuildControl__control91(__ctrl.ItemStyle);
Line 3608:            
Line 3609:             #line default
Line 3610:             #line hidden
Line 3611:            
Line 3612:             #line 501 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3613:             this.__BuildControl__control92(__ctrl.FooterStyle);
Line 3614:            
Line 3615:             #line default
Line 3616:             #line hidden
Line 3617:         }
Line 3618:        
Line 3619:         private System.Web.UI.Control __BuildControl__control95() {
Line 3620:             System.Web.UI.WebControls.ImageButton __ctrl;
Line 3621:            
Line 3622:             #line 521 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3623:             __ctrl = new System.Web.UI.WebControls.ImageButton();
Line 3624:            
Line 3625:             #line default
Line 3626:             #line hidden
Line 3627:             this.__control95 = __ctrl;
Line 3628:            
Line 3629:             #line 521 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3630:             __ctrl.CommandName = "Delete";
Line 3631:            
Line 3632:             #line default
Line 3633:             #line hidden
Line 3634:            
Line 3635:             #line 521 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3636:             __ctrl.ID = "btnDel";
Line 3637:            
Line 3638:             #line default
Line 3639:             #line hidden
Line 3640:            
Line 3641:             #line 521 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3642:             ((System.Web.UI.IAttributeAccessor)(__ctrl)).SetAttribute("alt", "Delete this item?");
Line 3643:            
Line 3644:             #line default
Line 3645:             #line hidden
Line 3646:            
Line 3647:             #line 521 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3648:             __ctrl.ImageUrl = "images/icn_del.gif";
Line 3649:            
Line 3650:             #line default
Line 3651:             #line hidden
Line 3652:             return __ctrl;
Line 3653:         }
Line 3654:        
Line 3655:         private void __BuildControl__control94(System.Web.UI.Control __ctrl) {
Line 3656:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 3657:            
Line 3658:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3659:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3660:            
Line 3661:             #line default
Line 3662:             #line hidden
Line 3663:            
Line 3664:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3665:             this.__BuildControl__control95();
Line 3666:            
Line 3667:             #line default
Line 3668:             #line hidden
Line 3669:            
Line 3670:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3671:             __parser.AddParsedSubObject(this.__control95);
Line 3672:            
Line 3673:             #line default
Line 3674:             #line hidden
Line 3675:            
Line 3676:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3677:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3678:            
Line 3679:             #line default
Line 3680:             #line hidden
Line 3681:         }
Line 3682:        
Line 3683:         private System.Web.UI.Control __BuildControl__control97() {
Line 3684:             System.Web.UI.WebControls.ImageButton __ctrl;
Line 3685:            
Line 3686:             #line 526 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3687:             __ctrl = new System.Web.UI.WebControls.ImageButton();
Line 3688:            
Line 3689:             #line default
Line 3690:             #line hidden
Line 3691:             this.__control97 = __ctrl;
Line 3692:            
Line 3693:             #line 526 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3694:             __ctrl.CommandName = "Insert";
Line 3695:            
Line 3696:             #line default
Line 3697:             #line hidden
Line 3698:            
Line 3699:             #line 526 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3700:             __ctrl.ID = "btnAdd";
Line 3701:            
Line 3702:             #line default
Line 3703:             #line hidden
Line 3704:            
Line 3705:             #line 526 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3706:             ((System.Web.UI.IAttributeAccessor)(__ctrl)).SetAttribute("alt", "Add new item");
Line 3707:            
Line 3708:             #line default
Line 3709:             #line hidden
Line 3710:            
Line 3711:             #line 526 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3712:             __ctrl.ImageUrl = "images/icn_add.gif";
Line 3713:            
Line 3714:             #line default
Line 3715:             #line hidden
Line 3716:             return __ctrl;
Line 3717:         }
Line 3718:        
Line 3719:         private void __BuildControl__control96(System.Web.UI.Control __ctrl) {
Line 3720:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 3721:            
Line 3722:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3723:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3724:            
Line 3725:             #line default
Line 3726:             #line hidden
Line 3727:            
Line 3728:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3729:             this.__BuildControl__control97();
Line 3730:            
Line 3731:             #line default
Line 3732:             #line hidden
Line 3733:            
Line 3734:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3735:             __parser.AddParsedSubObject(this.__control97);
Line 3736:            
Line 3737:             #line default
Line 3738:             #line hidden
Line 3739:            
Line 3740:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3741:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
Line 3742:            
Line 3743:             #line default
Line 3744:             #line hidden
Line 3745:         }
Line 3746:        
Line 3747:         private void __BuildControl__control98(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 3748:            
Line 3749:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3750:             __ctrl.Wrap = false;
Line 3751:            
Line 3752:             #line default
Line 3753:             #line hidden
Line 3754:         }
Line 3755:        
Line 3756:         private void __BuildControl__control99(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 3757:            
Line 3758:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3759:             __ctrl.Wrap = false;
Line 3760:            
Line 3761:             #line default
Line 3762:             #line hidden
Line 3763:         }
Line 3764:        
Line 3765:         private void __BuildControl__control100(System.Web.UI.WebControls.TableItemStyle __ctrl) {
Line 3766:            
Line 3767:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3768:             __ctrl.Wrap = false;
Line 3769:            
Line 3770:             #line default
Line 3771:             #line hidden
Line 3772:         }
Line 3773:        
Line 3774:         private void __BuildControl__control93() {
Line 3775:             System.Web.UI.WebControls.TemplateColumn __ctrl;
Line 3776:            
Line 3777:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3778:             __ctrl = new System.Web.UI.WebControls.TemplateColumn();
Line 3779:            
Line 3780:             #line default
Line 3781:             #line hidden
Line 3782:             this.__control93 = __ctrl;
Line 3783:            
Line 3784:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3785:             __ctrl.HeaderText = "Delete";
Line 3786:            
Line 3787:             #line default
Line 3788:             #line hidden
Line 3789:            
Line 3790:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3791:             __ctrl.ItemTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control94));
Line 3792:            
Line 3793:             #line default
Line 3794:             #line hidden
Line 3795:            
Line 3796:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3797:             __ctrl.FooterTemplate = new System.Web.UI.CompiledTemplateBuilder(new System.Web.UI.BuildTemplateMethod(this.__BuildControl__control96));
Line 3798:            
Line 3799:             #line default
Line 3800:             #line hidden
Line 3801:            
Line 3802:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3803:             this.__BuildControl__control98(__ctrl.HeaderStyle);
Line 3804:            
Line 3805:             #line default
Line 3806:             #line hidden
Line 3807:            
Line 3808:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3809:             this.__BuildControl__control99(__ctrl.ItemStyle);
Line 3810:            
Line 3811:             #line default
Line 3812:             #line hidden
Line 3813:            
Line 3814:             #line 517 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3815:             this.__BuildControl__control100(__ctrl.FooterStyle);
Line 3816:            
Line 3817:             #line default
Line 3818:             #line hidden
Line 3819:         }
Line 3820:        
Line 3821:         private void __BuildControl__control8(System.Web.UI.WebControls.DataGridColumnCollection __ctrl) {
Line 3822:            
Line 3823:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3824:             this.__BuildControl__control9();
Line 3825:            
Line 3826:             #line default
Line 3827:             #line hidden
Line 3828:            
Line 3829:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3830:             __ctrl.Add(this.__control9);
Line 3831:            
Line 3832:             #line default
Line 3833:             #line hidden
Line 3834:            
Line 3835:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3836:             this.__BuildControl__control13();
Line 3837:            
Line 3838:             #line default
Line 3839:             #line hidden
Line 3840:            
Line 3841:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3842:             __ctrl.Add(this.__control13);
Line 3843:            
Line 3844:             #line default
Line 3845:             #line hidden
Line 3846:            
Line 3847:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3848:             this.__BuildControl__control23();
Line 3849:            
Line 3850:             #line default
Line 3851:             #line hidden
Line 3852:            
Line 3853:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3854:             __ctrl.Add(this.__control23);
Line 3855:            
Line 3856:             #line default
Line 3857:             #line hidden
Line 3858:            
Line 3859:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3860:             this.__BuildControl__control33();
Line 3861:            
Line 3862:             #line default
Line 3863:             #line hidden
Line 3864:            
Line 3865:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3866:             __ctrl.Add(this.__control33);
Line 3867:            
Line 3868:             #line default
Line 3869:             #line hidden
Line 3870:            
Line 3871:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3872:             this.__BuildControl__control43();
Line 3873:            
Line 3874:             #line default
Line 3875:             #line hidden
Line 3876:            
Line 3877:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3878:             __ctrl.Add(this.__control43);
Line 3879:            
Line 3880:             #line default
Line 3881:             #line hidden
Line 3882:            
Line 3883:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3884:             this.__BuildControl__control53();
Line 3885:            
Line 3886:             #line default
Line 3887:             #line hidden
Line 3888:            
Line 3889:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3890:             __ctrl.Add(this.__control53);
Line 3891:            
Line 3892:             #line default
Line 3893:             #line hidden
Line 3894:            
Line 3895:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3896:             this.__BuildControl__control63();
Line 3897:            
Line 3898:             #line default
Line 3899:             #line hidden
Line 3900:            
Line 3901:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3902:             __ctrl.Add(this.__control63);
Line 3903:            
Line 3904:             #line default
Line 3905:             #line hidden
Line 3906:            
Line 3907:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3908:             this.__BuildControl__control73();
Line 3909:            
Line 3910:             #line default
Line 3911:             #line hidden
Line 3912:            
Line 3913:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3914:             __ctrl.Add(this.__control73);
Line 3915:            
Line 3916:             #line default
Line 3917:             #line hidden
Line 3918:            
Line 3919:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3920:             this.__BuildControl__control83();
Line 3921:            
Line 3922:             #line default
Line 3923:             #line hidden
Line 3924:            
Line 3925:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3926:             __ctrl.Add(this.__control83);
Line 3927:            
Line 3928:             #line default
Line 3929:             #line hidden
Line 3930:            
Line 3931:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3932:             this.__BuildControl__control93();
Line 3933:            
Line 3934:             #line default
Line 3935:             #line hidden
Line 3936:            
Line 3937:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3938:             __ctrl.Add(this.__control93);
Line 3939:            
Line 3940:             #line default
Line 3941:             #line hidden
Line 3942:         }
Line 3943:        
Line 3944:         private void __BuildControl__control101(System.Web.UI.WebControls.DataGridPagerStyle __ctrl) {
Line 3945:            
Line 3946:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3947:             __ctrl.NextPageText = "Next&gt;";
Line 3948:            
Line 3949:             #line default
Line 3950:             #line hidden
Line 3951:            
Line 3952:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3953:             __ctrl.PrevPageText = "&lt; Prev";
Line 3954:            
Line 3955:             #line default
Line 3956:             #line hidden
Line 3957:            
Line 3958:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3959:             __ctrl.HorizontalAlign = System.Web.UI.WebControls.HorizontalAlign.Center;
Line 3960:            
Line 3961:             #line default
Line 3962:             #line hidden
Line 3963:            
Line 3964:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3965:             __ctrl.ForeColor = ((System.Drawing.Color)(System.Drawing.Color.FromArgb(51, 0, 153)));
Line 3966:            
Line 3967:             #line default
Line 3968:             #line hidden
Line 3969:            
Line 3970:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3971:             __ctrl.BackColor = ((System.Drawing.Color)(System.Drawing.Color.FromArgb(255, 255, 204)));
Line 3972:            
Line 3973:             #line default
Line 3974:             #line hidden
Line 3975:            
Line 3976:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3977:             __ctrl.Wrap = false;
Line 3978:            
Line 3979:             #line default
Line 3980:             #line hidden
Line 3981:            
Line 3982:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3983:             __ctrl.Mode = System.Web.UI.WebControls.PagerMode.NumericPages;
Line 3984:            
Line 3985:             #line default
Line 3986:             #line hidden
Line 3987:         }
Line 3988:        
Line 3989:         private System.Web.UI.Control __BuildControlDataGridUserManagementID() {
Line 3990:             System.Web.UI.WebControls.DataGrid __ctrl;
Line 3991:            
Line 3992:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 3993:             __ctrl = new System.Web.UI.WebControls.DataGrid();
Line 3994:            
Line 3995:             #line default
Line 3996:             #line hidden
Line 3997:             this.DataGridUserManagementID = __ctrl;
Line 3998:            
Line 3999:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4000:             __ctrl.ID = "DataGridUserManagementID";
Line 4001:            
Line 4002:             #line default
Line 4003:             #line hidden
Line 4004:            
Line 4005:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4006:             __ctrl.AllowPaging = true;
Line 4007:            
Line 4008:             #line default
Line 4009:             #line hidden
Line 4010:            
Line 4011:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4012:             __ctrl.ShowFooter = true;
Line 4013:            
Line 4014:             #line default
Line 4015:             #line hidden
Line 4016:            
Line 4017:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4018:             __ctrl.AutoGenerateColumns = false;
Line 4019:            
Line 4020:             #line default
Line 4021:             #line hidden
Line 4022:            
Line 4023:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4024:             __ctrl.GridLines = System.Web.UI.WebControls.GridLines.None;
Line 4025:            
Line 4026:             #line default
Line 4027:             #line hidden
Line 4028:            
Line 4029:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4030:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Outset;
Line 4031:            
Line 4032:             #line default
Line 4033:             #line hidden
Line 4034:            
Line 4035:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4036:             __ctrl.Font.Size = System.Web.UI.WebControls.FontUnit.Parse("12px", System.Globalization.CultureInfo.InvariantCulture);
Line 4037:            
Line 4038:             #line default
Line 4039:             #line hidden
Line 4040:            
Line 4041:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4042:             __ctrl.Font.Names = new string[] {
Line 4043:                     "arial"};
Line 4044:            
Line 4045:             #line default
Line 4046:             #line hidden
Line 4047:            
Line 4048:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4049:             __ctrl.Width = System.Web.UI.WebControls.Unit.Parse("449px", System.Globalization.CultureInfo.InvariantCulture);
Line 4050:            
Line 4051:             #line default
Line 4052:             #line hidden
Line 4053:            
Line 4054:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4055:             __ctrl.PagerStyle.HorizontalAlign = System.Web.UI.WebControls.HorizontalAlign.Right;
Line 4056:            
Line 4057:             #line default
Line 4058:             #line hidden
Line 4059:            
Line 4060:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4061:             __ctrl.BorderColor = ((System.Drawing.Color)(System.Drawing.Color.FromArgb(204, 204, 153)));
Line 4062:            
Line 4063:             #line default
Line 4064:             #line hidden
Line 4065:            
Line 4066:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4067:             __ctrl.BorderWidth = System.Web.UI.WebControls.Unit.Parse("3px", System.Globalization.CultureInfo.InvariantCulture);
Line 4068:            
Line 4069:             #line default
Line 4070:             #line hidden
Line 4071:            
Line 4072:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4073:             __ctrl.DataKeyField = "CM_REF";
Line 4074:            
Line 4075:             #line default
Line 4076:             #line hidden
Line 4077:            
Line 4078:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4079:             __ctrl.UseAccessibleHeader = true;
Line 4080:            
Line 4081:             #line default
Line 4082:             #line hidden
Line 4083:            
Line 4084:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4085:             this.__BuildControl__control2(__ctrl.FooterStyle);
Line 4086:            
Line 4087:             #line default
Line 4088:             #line hidden
Line 4089:            
Line 4090:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4091:             this.__BuildControl__control3(__ctrl.SelectedItemStyle);
Line 4092:            
Line 4093:             #line default
Line 4094:             #line hidden
Line 4095:            
Line 4096:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4097:             this.__BuildControl__control4(__ctrl.EditItemStyle);
Line 4098:            
Line 4099:             #line default
Line 4100:             #line hidden
Line 4101:            
Line 4102:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4103:             this.__BuildControl__control5(__ctrl.AlternatingItemStyle);
Line 4104:            
Line 4105:             #line default
Line 4106:             #line hidden
Line 4107:            
Line 4108:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4109:             this.__BuildControl__control6(__ctrl.ItemStyle);
Line 4110:            
Line 4111:             #line default
Line 4112:             #line hidden
Line 4113:            
Line 4114:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4115:             this.__BuildControl__control7(__ctrl.HeaderStyle);
Line 4116:            
Line 4117:             #line default
Line 4118:             #line hidden
Line 4119:            
Line 4120:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4121:             this.__BuildControl__control8(__ctrl.Columns);
Line 4122:            
Line 4123:             #line default
Line 4124:             #line hidden
Line 4125:            
Line 4126:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4127:             this.__BuildControl__control101(__ctrl.PagerStyle);
Line 4128:            
Line 4129:             #line default
Line 4130:             #line hidden
Line 4131:            
Line 4132:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4133:             __ctrl.DeleteCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.DataGridUserManagementID_Delete);
Line 4134:            
Line 4135:             #line default
Line 4136:             #line hidden
Line 4137:            
Line 4138:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4139:             __ctrl.UpdateCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.DataGridUserManagementID_Update);
Line 4140:            
Line 4141:             #line default
Line 4142:             #line hidden
Line 4143:            
Line 4144:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4145:             __ctrl.CancelCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.DataGridUserManagementID_Cancel);
Line 4146:            
Line 4147:             #line default
Line 4148:             #line hidden
Line 4149:            
Line 4150:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4151:             __ctrl.ItemDataBound += new System.Web.UI.WebControls.DataGridItemEventHandler(this.DataGridUserManagementID_ItemDataBound);
Line 4152:            
Line 4153:             #line default
Line 4154:             #line hidden
Line 4155:            
Line 4156:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4157:             __ctrl.EditCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.DataGridUserManagementID_Edit);
Line 4158:            
Line 4159:             #line default
Line 4160:             #line hidden
Line 4161:            
Line 4162:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4163:             __ctrl.ItemCreated += new System.Web.UI.WebControls.DataGridItemEventHandler(this.DataGridUserManagementID_ItemCreated);
Line 4164:            
Line 4165:             #line default
Line 4166:             #line hidden
Line 4167:            
Line 4168:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4169:             __ctrl.ItemCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.DataGridUserManagementID_ItemCommand);
Line 4170:            
Line 4171:             #line default
Line 4172:             #line hidden
Line 4173:            
Line 4174:             #line 364 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4175:             __ctrl.PageIndexChanged += new System.Web.UI.WebControls.DataGridPageChangedEventHandler(this.dg_Page);
Line 4176:            
Line 4177:             #line default
Line 4178:             #line hidden
Line 4179:             return __ctrl;
Line 4180:         }
Line 4181:        
Line 4182:         private System.Web.UI.Control __BuildControlLogout1() {
Line 4183:             ASP.logout_ascx __ctrl;
Line 4184:            
Line 4185:             #line 533 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4186:             __ctrl = new ASP.logout_ascx();
Line 4187:            
Line 4188:             #line default
Line 4189:             #line hidden
Line 4190:             this.Logout1 = __ctrl;
Line 4191:            
Line 4192:             #line 533 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4193:             this.Logout1.InitializeAsUserControl(this.Page);
Line 4194:            
Line 4195:             #line default
Line 4196:             #line hidden
Line 4197:            
Line 4198:             #line 533 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4199:             __ctrl.ID = "Logout1";
Line 4200:            
Line 4201:             #line default
Line 4202:             #line hidden
Line 4203:             return __ctrl;
Line 4204:         }
Line 4205:        
Line 4206:         private System.Web.UI.Control __BuildControlfooter() {
Line 4207:             ASP.footer_ascx __ctrl;
Line 4208:            
Line 4209:             #line 535 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4210:             __ctrl = new ASP.footer_ascx();
Line 4211:            
Line 4212:             #line default
Line 4213:             #line hidden
Line 4214:             this.footer = __ctrl;
Line 4215:            
Line 4216:             #line 535 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4217:             this.footer.InitializeAsUserControl(this.Page);
Line 4218:            
Line 4219:             #line default
Line 4220:             #line hidden
Line 4221:            
Line 4222:             #line 535 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4223:             __ctrl.ID = "footer";
Line 4224:            
Line 4225:             #line default
Line 4226:             #line hidden
Line 4227:             return __ctrl;
Line 4228:         }
Line 4229:        
Line 4230:         private System.Web.UI.Control __BuildControlform1() {
Line 4231:             System.Web.UI.HtmlControls.HtmlForm __ctrl;
Line 4232:            
Line 4233:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4234:             __ctrl = new System.Web.UI.HtmlControls.HtmlForm();
Line 4235:            
Line 4236:             #line default
Line 4237:             #line hidden
Line 4238:             this.form1 = __ctrl;
Line 4239:            
Line 4240:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4241:             __ctrl.ID = "form1";
Line 4242:            
Line 4243:             #line default
Line 4244:             #line hidden
Line 4245:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 4246:            
Line 4247:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4248:             __parser.AddParsedSubObject(this.CreateResourceBasedLiteralControl(0, 258, true));
Line 4249:            
Line 4250:             #line default
Line 4251:             #line hidden
Line 4252:            
Line 4253:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4254:             this.__BuildControlDataGridUserManagementID();
Line 4255:            
Line 4256:             #line default
Line 4257:             #line hidden
Line 4258:            
Line 4259:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4260:             __parser.AddParsedSubObject(this.DataGridUserManagementID);
Line 4261:            
Line 4262:             #line default
Line 4263:             #line hidden
Line 4264:            
Line 4265:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4266:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n<P align=\"center\">"));
Line 4267:            
Line 4268:             #line default
Line 4269:             #line hidden
Line 4270:            
Line 4271:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4272:             this.__BuildControlLogout1();
Line 4273:            
Line 4274:             #line default
Line 4275:             #line hidden
Line 4276:            
Line 4277:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4278:             __parser.AddParsedSubObject(this.Logout1);
Line 4279:            
Line 4280:             #line default
Line 4281:             #line hidden
Line 4282:            
Line 4283:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4284:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("<BR>\r\n<BR>\r\n"));
Line 4285:            
Line 4286:             #line default
Line 4287:             #line hidden
Line 4288:            
Line 4289:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4290:             this.__BuildControlfooter();
Line 4291:            
Line 4292:             #line default
Line 4293:             #line hidden
Line 4294:            
Line 4295:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4296:             __parser.AddParsedSubObject(this.footer);
Line 4297:            
Line 4298:             #line default
Line 4299:             #line hidden
Line 4300:            
Line 4301:             #line 355 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4302:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</P>\r\n</TD>\r\n<TD height=\"272\"></TD>\r\n</TR>\r\n</TABLE>\r\n"));
Line 4303:            
Line 4304:             #line default
Line 4305:             #line hidden
Line 4306:             return __ctrl;
Line 4307:         }
Line 4308:        
Line 4309:         private void __BuildControlTree(System.Web.UI.Control __ctrl) {
Line 4310:             System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 4311:            
Line 4312:             #line 1 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4313:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n<HTML>\r\n<HEAD>\r\n<title>Users Interface to Managing Adminitrators</title>\r\n<meta" +
Line 4314: " content=\"True\" name=\"vs_snapToGrid\">\r\n"));
Line 4315:            
Line 4316:             #line default
Line 4317:             #line hidden
Line 4318:            
Line 4319:             #line 1 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4320:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n</HEAD>\r\n<body bgColor=\"#fef9e9\" leftMargin=\"0\" background=\"images/bg.gif\" topM" +
Line 4321: "argin=\"0\" marginheigh=\"0\"\r\n\t\tmarginwidth=\"0\">\r\n"));
Line 4322:            
Line 4323:             #line default
Line 4324:             #line hidden
Line 4325:            
Line 4326:             #line 1 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4327:             this.__BuildControlheader();
Line 4328:            
Line 4329:             #line default
Line 4330:             #line hidden
Line 4331:            
Line 4332:             #line 1 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4333:             __parser.AddParsedSubObject(this.header);
Line 4334:            
Line 4335:             #line default
Line 4336:             #line hidden
Line 4337:            
Line 4338:             #line 1 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4339:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n<center>\r\n"));
Line 4340:            
Line 4341:             #line default
Line 4342:             #line hidden
Line 4343:            
Line 4344:             #line 1 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4345:             this.__BuildControlform1();
Line 4346:            
Line 4347:             #line default
Line 4348:             #line hidden
Line 4349:            
Line 4350:             #line 1 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4351:             __parser.AddParsedSubObject(this.form1);
Line 4352:            
Line 4353:             #line default
Line 4354:             #line hidden
Line 4355:            
Line 4356:             #line 1 "D:\Inetpub\wwwroot\MSPOS\Parameters.aspx"
Line 4357:             __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n</center> <!-- Include start of footer ----------------------------------------" +
Line 4358: "--------> <!--------------------------------------------------------------------" +
Line 4359: "------->\r\n</body>\r\n</HTML>\r\n"));
Line 4360:            
Line 4361:             #line default
Line 4362:             #line hidden
Line 4363:         }
Line 4364:        
Line 4365:         protected override void FrameworkInitialize() {
Line 4366:             SetStringResourcePointer(ASP.Parameters_aspx.__stringResource, 258);
Line 4367:             this.__BuildControlTree(this);
Line 4368:             this.FileDependencies = ASP.Parameters_aspx.__fileDependencies;
Line 4369:             this.EnableViewStateMac = true;
Line 4370:             this.Request.ValidateInput();
Line 4371:         }
Line 4372:        
Line 4373:         public override int GetTypeHashCode() {
Line 4374:             return 899009376;
Line 4375:         }
Line 4376:     }
Line 4377: }
Line 4378:
 




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
0
 
tusharashahCommented:
Modify this:
  DataSet ds;
With
  DataSet ds = new DataSet();

and see what happens

-tushar
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 7
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now