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

📄 ordersearch.ascx.cs

📁 简单的cI真的是很简单 你想要就下载吧
💻 CS
📖 第 1 页 / 共 2 页
字号:
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using VinciDataAccess.Linq;
using VinciBusinessLogic.BusinessLogic;
using BRISDataAccess.DataAccess;
using VinciDataAccess.Entity;
using VinciDataAccess.DataAccess;
using BEISBusinessLogic.BusinessLogic;
using BRISDataAccess.Entity;
using BRISDataAccess.Linq;

public partial class UserControl_OrderSearch : System.Web.UI.UserControl
{
    #region Judge the page Role
    #region
    //private string _pageName;
    //private bool _canCreateOrder;
    //private bool _canReplayRequire;
    //private bool _canInputTransportInfo;
    //private bool _canConfirmReceive;
    //private bool _canCloseOrder;
    //private bool _isAdmin;
    #endregion
    private string _pageTitle;
    public string PageTitle
    {
        get
        {
            return this._pageTitle;
        }
        set
        {
            this._pageTitle = value;
        }
    }
    private int _employeeID;
    public int EmployeeID 
    {
        get { return _employeeID; }
        set { _employeeID = value; }
    }

    private string _orderState;
    /// <summary>
    /// 订单ID属性








    /// </summary> 
    public string OrderID
    {
        get
        {
            return this.orderIDtxt.Text;
        }
        set
        {
            this.orderIDtxt.Text =value;
        }
    }   
    public int CustomerID
    {
        get
        {
            return Convert.ToInt32(this.customerList.SelectedItem.Value);
        }
        set
        {
            this.customerList.SelectedItem.Value=Convert.ToString(value);
        }
    }
    public int OrderCreateID
    {
        get
        {
            return Convert.ToInt32(this.createList.SelectedItem.Value);
        }
        set
        {
            this.createList.SelectedItem.Value =Convert.ToString(value);
        }
    }
    public int StorehouseAccepterID
    {
        get
        {
            return Convert.ToInt32(this.peiList.SelectedItem.Value);
        }
        set
        {
            this.peiList.SelectedItem.Value =Convert.ToString(value);
        }
    }
    public string Carrier
    {
        get
        {
            return this.postList.SelectedItem.Text;
        }
        set
        {
            this.postList.SelectedItem.Text = value;
        }
    }
    public string Receiver
    {
        get
        {
            return this.okList.SelectedItem.Text;
        }
        set
        {
            this.okList.SelectedItem.Text = value;
        }
    }
    public int OrderCloseAccepterID
    {
        get
        {
            return Convert.ToInt32(this.closeList.SelectedItem.Value);
        }
        set
        {
            this.closeList.SelectedItem.Value =Convert.ToString(value);
        }
    }
    public int OrgID
    {
        get
        {
            return Convert.ToInt32(this.containList.SelectedItem.Value);
        }
        set
        {
            this.containList.SelectedItem.Value = Convert.ToString(value);
        }
    }
    public string OrderState//显示状态下拉框信息绑定
    {
        get
        {
            return this._orderState;
        }
        set
        {
            this._orderState = value;
        }
    }
    public string CreatOrderStartTime
    {
        get
        {
            return Convert.ToString(this.createOrderStart.Value);
        }
        set
        {
            this.createOrderStart.Value = Convert.ToDateTime(value);
        }
    }
    public string CreateOrderEndTime
    {
        get
        {
            return Convert.ToString(this.createOrderEnd.Value);
        }
        set
        {
            this.createOrderEnd.Value = Convert.ToDateTime(value);
        }
    }
    public string StoreHourseStartTime
    {
        get
        {
            return Convert.ToString(this.storeOrderStart.Value);
        }
        set
        {
            this.storeOrderStart.Value = Convert.ToDateTime(value);
        }
    }
    public string StoreHourseEndTime
    {
        get
        {
            return Convert.ToString(this.storeOrderEnd.Value);
        }
        set
        {
            this.storeOrderEnd.Value = Convert.ToDateTime(value);
        }
    }
    public string SendStartTime
    {
        get
        {
            return Convert.ToString(this.sendOrderStart.Value);
        }
        set
        {
            this.sendOrderStart.Value = Convert.ToDateTime(value);
        }
    }
    public string SendEndTime
    {
        get
        {
            return Convert.ToString(this.sendOrderEnd.Value);
        }
        set
        {
            this.sendOrderEnd.Value = Convert.ToDateTime(value);
        }
    }
    public string ConfirmStartTime
    {
        get
        {
            return Convert.ToString(this.okOrderStart.Value);
        }
        set
        {
            this.okOrderStart.Value = Convert.ToDateTime(value);
        }
    }
    public string ConfirmEndTime
    {
        get
        {
            return Convert.ToString(this.okOrderEnd.Value);
        }
        set
        {
            this.okOrderEnd.Value = Convert.ToDateTime(value);
       
        }
    }
    public string CloseStartTime
    {
        get
        {
            return Convert.ToString(this.closeOrderStart.Value);
        }
        set
        {
            this.closeOrderStart.Value = Convert.ToDateTime(value);
        }
    }
    public string CloseEndTime
    {
        get
        {
            return Convert.ToString(this.closeOrderEnd.Value);
        }
        set
        {
            this.closeOrderEnd.Value = Convert.ToDateTime(value);
        }
    }    
    private int _state;
    private string _sqlStr = "SELECT * FROM Orders";
    private string _strWhere = "";
    private string _height;
    private string _width;
    private bool _isVisibleSearch;
    private bool _isSearch;
    #region
    //private bool _isStoreHouser;//是否显示配货
    //private bool _isSender;//是否显示发货信息
    //private bool _isReciver;//是否显示接受信息
    //private bool _isCloser;//是否显示关闭信息
    //private bool _isStore;//是否显示备货时间
    //private bool _isSend;//是否显示发货时间
    //private bool _isOK;//是否显示确定时间
    //private bool _isClose;//是否显示关闭时间
    #endregion
    private bool _isResult;//显示搜索表单结果
    public bool IsResult
    {
        get
        {
            return this._isResult;
        }
        set
        {
            this._isResult = value;
        }
    }
    public bool IsSearch
    {
        get
        {
            return this._isSearch;
        }
        set
        {
            this._isSearch = value;
        }
    }
    private bool _isOperateEnabled;
    public bool IsOperateEnabled
    {
        get
        {
            return this._isOperateEnabled;
        }
        set
        {
            this._isOperateEnabled = value;
        }
    }
    private bool _isStoreHourseEnabled;
    public bool IsStoreHourseEnabled
    {
        get
        {
            return this._isStoreHourseEnabled;
        }
        set
        {
            this._isStoreHourseEnabled = value;
        }
    }
    private bool _isSendEnabled;
    public bool IsSendEnabled
    {
        get
        {
            return this._isSendEnabled;
        }
        set
        {
            this._isSendEnabled = value;
        }
    }
    private bool _isOkEnabled;
    public bool IsOkEnabled
    {
        get
        {
            return this._isOkEnabled;
        }
        set
        {
            this._isOkEnabled = value;
      
        }
    }
    private bool _isCloseEnabled;
    public bool IsCloseEnabled
    {
        get
        {
            return this._isCloseEnabled;
        }
        set
        {
            this._isCloseEnabled = value;
        }
    }
    #region
    //public bool IsStoreHourser
    //{
    //    get
    //    {
    //        return this._isStoreHouser;
    //    }
    //    set
    //    {
    //        this._isStoreHouser = value;
    //    }
    //}
    //public bool IsSender
    //{
    //    get
    //    {
    //        return this._isSender;
    //    }
    //    set
    //    {
    //        this._isSender = value;
    //    }
    //}
    //public bool IsReciver
    //{
    //    get
    //    {
    //        return this._isReciver;
    //    }
    //    set
    //    {
    //        this._isReciver = value;
    //    }
    //}
    //public bool IsCloser
    //{
    //    get
    //    {
    //        return this._isCloser;
    //    }
    //    set
    //    {
    //        this._isCloser = value;
    //    }
    //}
    //public bool IsStore
    //{
    //    get
    //    {
    //        return this._isStore;
    //    }
    //    set
    //    {
    //        this._isStore = value;
    //    }
    //}
    //public bool IsSend
    //{
    //    get
    //    {
    //        return this._isSend;
    //    }
    //    set
    //    {
    //        this._isSend = value;
    //    }
    //}
    //public bool IsOk
    //{
    //    get
    //    {
    //        return this._isOK;
    //    }
    //    set
    //    {
    //        _isOK = value;
    //    }
    //}
    //public bool IsClose
    //{
    //    get
    //    {
    //        return this._isClose;
    //    }
    //    set
    //    {
    //        this._isClose = value;
    //    }
    //}

⌨️ 快捷键说明

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