📄 orderedit.ascx.cs
字号:
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 VinciBusinessLogic.BusinessLogic;
using VinciDataAccess.DataAccess;
using VinciDataAccess.Entity;
using VinciDataAccess.Linq;
using System.Collections.Generic;
public partial class UserControl_OrderEdit : System.Web.UI.UserControl
{
private OrdersBL _ordersBL = new OrdersBL();
private OrdersEntity _ordersEntity = new OrdersEntity();
private OrderDetailsCollection _ordersDetailsCollection = new OrderDetailsCollection();
private OrdersCollection _ordersCollection = new OrdersCollection();
private OrdersStore _ordersStore = new OrdersStore();
private OrderDetailsBL _orderDetailsBL = new OrderDetailsBL();
private ProductBL _productBL = new ProductBL();
private ProductsEntity _productEntity = new ProductsEntity();
private ProductsCollection _productsCollection = new ProductsCollection();
private Common _common = new Common();
private BasePage _basePage = new BasePage();
private VinciWebService.VinciService _vinciService = new VinciWebService.VinciService();
private CategoriesBL _categoriesBL = new CategoriesBL();
private CustomersCollection _customersCollection = new CustomersCollection();
private CategoriesCollection _categoriesCollection = new CategoriesCollection();
#region The Data propertiy
private string _requestOrderID;
private string _requestProductID;
private string _requestOrgID;
public string RequestOrgID
{
get
{
return _requestOrgID;
}
set
{
_requestOrgID = value;
}
}
public string RequestOrderID
{
get
{
return this._requestOrderID;
}
set
{
this._requestOrderID = value;
}
}
public string RequestProductID
{
get
{
return this._requestProductID;
}
set
{
this._requestProductID = value;
}
}
public string OrderID
{
get
{
return this.orderIDTxt.Text;
}
}
public string CustomerName
{
get
{
return this.customerNameEditTxt.SelectedItem.Text;
}
set
{
this.customerNameEditTxt.SelectedItem.Text = value;
}
}
public string CustomerID
{
get
{
return this.customerNameEditTxt.SelectedItem.Value;
}
set
{
this.customerNameEditTxt.SelectedItem.Value = value;
}
}
public string OrderCreateTime
{
get
{
return orderCreateTimeEdit.Value;
}
set
{
orderCreateTimeEdit.Value = value;
}
}
public string RequiredDate
{
get
{
return orderRequiredTimeEdit.Value;
}
set
{
orderRequiredTimeEdit.Value = value;
}
}
public string OrderNote
{
get
{
return noteEditTxt.Text;
}
set
{
noteEditTxt.Text = value;
}
}
public string OrderCreater
{
get
{
return this.orderCreateEditTxt.SelectedItem.Text;
}
set
{
this.orderCreateEditTxt.SelectedItem.Text = value;
}
}
public string OrderCreaterID
{
get
{
return this.orderCreateEditTxt.SelectedItem.Value;
}
set
{
this.orderCreateEditTxt.SelectedItem.Value = value;
}
}
public string OrgName
{
get
{
return this.orgEditTxt.SelectedItem.Text;
}
set
{
this.orgEditTxt.SelectedItem.Text = value;
}
}
public string OrgID
{
get
{
return this.orgEditTxt.SelectedItem.Value;
}
set
{
this.orgEditTxt.SelectedItem.Value = value;
}
}
private static string _employeeID;
public static string EmployeeID
{
get
{
return _employeeID;
}
set
{
_employeeID = value;
}
}
private static string _productName;
public static string ProductName
{
get
{
return _productName;
}
set
{
_productName= value;
}
}
private static string _productID;
public static string ProductID
{
get
{
return _productID;
}
set
{
_productID= value;
}
}
private static string _quantity;
public static string Quantity
{
get
{
return _quantity;
}
set
{
_quantity = value;
}
}
private static string _unitPrice;
public static string UnitPrice
{
get
{
return _unitPrice;
}
set
{
_unitPrice= value;
}
}
private static string _discount;
public static string Discount
{
get
{
return _discount;
}
set
{
_discount = value;
}
}
private static string _countPrice;
public static string CountPrice
{
get
{
return _countPrice;
}
set
{
_countPrice = value;
}
}
public string StorehouseReadyDate
{
get
{
return storeHourseTimeEditTxt.Value;
}
set
{
storeHourseTimeEditTxt.Value = value;
}
}
public string StoreHourser
{
get
{
return this.storeHourserEditTxt.SelectedItem.Text;
}
set
{
this.storeHourserEditTxt.SelectedItem.Text = value;
}
}
public string StoreHourserID
{
get
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -