📄 dskucun.cs
字号:
internal DataColumn 进口证号Column {
get {
return this.column进口证号;
}
}
internal DataColumn 商检单号Column {
get {
return this.column商检单号;
}
}
internal DataColumn 自编号Column {
get {
return this.column自编号;
}
}
internal DataColumn 钥匙号Column {
get {
return this.column钥匙号;
}
}
internal DataColumn 行驶里程Column {
get {
return this.column行驶里程;
}
}
internal DataColumn 出厂日期Column {
get {
return this.column出厂日期;
}
}
internal DataColumn 提单号Column {
get {
return this.column提单号;
}
}
internal DataColumn 进价Column {
get {
return this.column进价;
}
}
internal DataColumn 采购参考价Column {
get {
return this.column采购参考价;
}
}
internal DataColumn 销售参考价Column {
get {
return this.column销售参考价;
}
}
internal DataColumn 备注Column {
get {
return this.column备注;
}
}
public view_CarKuCunRow this[int index] {
get {
return ((view_CarKuCunRow)(this.Rows[index]));
}
}
public event view_CarKuCunRowChangeEventHandler view_CarKuCunRowChanged;
public event view_CarKuCunRowChangeEventHandler view_CarKuCunRowChanging;
public event view_CarKuCunRowChangeEventHandler view_CarKuCunRowDeleted;
public event view_CarKuCunRowChangeEventHandler view_CarKuCunRowDeleting;
public void Addview_CarKuCunRow(view_CarKuCunRow row) {
this.Rows.Add(row);
}
public view_CarKuCunRow Addview_CarKuCunRow(
string 库存单号,
string 入库日期,
string 采购单号,
System.DateTime 采购日期,
string 厂商名称,
string 车型代码,
string 车辆名称,
string 车辆类型,
string 产地,
string 车辆厂牌名称,
string 车辆颜色,
string 底盘号,
string 发动机号,
string 合格证号,
string 进口证号,
string 商检单号,
string 自编号,
string 钥匙号,
string 行驶里程,
string 出厂日期,
string 提单号,
System.Decimal 进价,
System.Decimal 采购参考价,
System.Decimal 销售参考价,
string 备注) {
view_CarKuCunRow rowview_CarKuCunRow = ((view_CarKuCunRow)(this.NewRow()));
rowview_CarKuCunRow.ItemArray = new object[] {
库存单号,
入库日期,
采购单号,
采购日期,
厂商名称,
车型代码,
车辆名称,
车辆类型,
产地,
车辆厂牌名称,
车辆颜色,
底盘号,
发动机号,
合格证号,
进口证号,
商检单号,
自编号,
钥匙号,
行驶里程,
出厂日期,
提单号,
进价,
采购参考价,
销售参考价,
备注};
this.Rows.Add(rowview_CarKuCunRow);
return rowview_CarKuCunRow;
}
public System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
public override DataTable Clone() {
view_CarKuCunDataTable cln = ((view_CarKuCunDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
protected override DataTable CreateInstance() {
return new view_CarKuCunDataTable();
}
internal void InitVars() {
this.column库存单号 = this.Columns["库存单号"];
this.column入库日期 = this.Columns["入库日期"];
this.column采购单号 = this.Columns["采购单号"];
this.column采购日期 = this.Columns["采购日期"];
this.column厂商名称 = this.Columns["厂商名称"];
this.column车型代码 = this.Columns["车型代码"];
this.column车辆名称 = this.Columns["车辆名称"];
this.column车辆类型 = this.Columns["车辆类型"];
this.column产地 = this.Columns["产地"];
this.column车辆厂牌名称 = this.Columns["车辆厂牌名称"];
this.column车辆颜色 = this.Columns["车辆颜色"];
this.column底盘号 = this.Columns["底盘号"];
this.column发动机号 = this.Columns["发动机号"];
this.column合格证号 = this.Columns["合格证号"];
this.column进口证号 = this.Columns["进口证号"];
this.column商检单号 = this.Columns["商检单号"];
this.column自编号 = this.Columns["自编号"];
this.column钥匙号 = this.Columns["钥匙号"];
this.column行驶里程 = this.Columns["行驶里程"];
this.column出厂日期 = this.Columns["出厂日期"];
this.column提单号 = this.Columns["提单号"];
this.column进价 = this.Columns["进价"];
this.column采购参考价 = this.Columns["采购参考价"];
this.column销售参考价 = this.Columns["销售参考价"];
this.column备注 = this.Columns["备注"];
}
private void InitClass() {
this.column库存单号 = new DataColumn("库存单号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column库存单号);
this.column入库日期 = new DataColumn("入库日期", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column入库日期);
this.column采购单号 = new DataColumn("采购单号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column采购单号);
this.column采购日期 = new DataColumn("采购日期", typeof(System.DateTime), null, System.Data.MappingType.Element);
this.Columns.Add(this.column采购日期);
this.column厂商名称 = new DataColumn("厂商名称", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column厂商名称);
this.column车型代码 = new DataColumn("车型代码", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column车型代码);
this.column车辆名称 = new DataColumn("车辆名称", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column车辆名称);
this.column车辆类型 = new DataColumn("车辆类型", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column车辆类型);
this.column产地 = new DataColumn("产地", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column产地);
this.column车辆厂牌名称 = new DataColumn("车辆厂牌名称", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column车辆厂牌名称);
this.column车辆颜色 = new DataColumn("车辆颜色", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column车辆颜色);
this.column底盘号 = new DataColumn("底盘号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column底盘号);
this.column发动机号 = new DataColumn("发动机号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column发动机号);
this.column合格证号 = new DataColumn("合格证号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column合格证号);
this.column进口证号 = new DataColumn("进口证号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column进口证号);
this.column商检单号 = new DataColumn("商检单号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column商检单号);
this.column自编号 = new DataColumn("自编号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column自编号);
this.column钥匙号 = new DataColumn("钥匙号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column钥匙号);
this.column行驶里程 = new DataColumn("行驶里程", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column行驶里程);
this.column出厂日期 = new DataColumn("出厂日期", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column出厂日期);
this.column提单号 = new DataColumn("提单号", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column提单号);
this.column进价 = new DataColumn("进价", typeof(System.Decimal), null, System.Data.MappingType.Element);
this.Columns.Add(this.column进价);
this.column采购参考价 = new DataColumn("采购参考价", typeof(System.Decimal), null, System.Data.MappingType.Element);
this.Columns.Add(this.column采购参考价);
this.column销售参考价 = new DataColumn("销售参考价", typeof(System.Decimal), null, System.Data.MappingType.Element);
this.Columns.Add(this.column销售参考价);
this.column备注 = new DataColumn("备注", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.column备注);
this.column库存单号.AllowDBNull = false;
this.column入库日期.AllowDBNull = false;
this.column采购单号.AllowDBNull = false;
this.column采购日期.AllowDBNull = false;
this.column厂商名称.AllowDBNull = false;
this.column车型代码.AllowDBNull = false;
this.column车辆名称.AllowDBNull = false;
this.column车辆类型.AllowDBNull = false;
this.column产地.AllowDBNull = false;
this.column车辆厂牌名称.AllowDBNull = false;
this.column车辆颜色.AllowDBNull = false;
this.column底盘号.AllowDBNull = false;
this.column发动机号.AllowDBNull = false;
this.column合格证号.AllowDBNull = false;
this.column商检单号.AllowDBNull = false;
this.column自编号.AllowDBNull = false;
this.column钥匙号.AllowDBNull = false;
this.column行驶里程.AllowDBNull = false;
this.column出厂日期.AllowDBNull = false;
this.column提单号.AllowDBNull = false;
this.column进价.AllowDBNull = false;
this.column采购参考价.AllowDBNull = false;
this.column销售参考价.AllowDBNull = false;
}
public view_CarKuCunRow Newview_CarKuCunRow() {
return ((view_CarKuCunRow)(this.NewRow()));
}
protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
return new view_CarKuCunRow(builder);
}
protected override System.Type GetRowType() {
return typeof(view_CarKuCunRow);
}
protected override void OnRowChanged(DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.view_CarKuCunRowChanged != null)) {
this.view_CarKuCunRowChanged(this, new view_CarKuCunRowChangeEvent(((view_CarKuCunRow)(e.Row)), e.Action));
}
}
protected override void OnRowChanging(DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.view_CarKuCunRowChanging != null)) {
this.view_CarKuCunRowChanging(this, new view_CarKuCunRowChangeEvent(((view_CarKuCunRow)(e.Row)), e.Action));
}
}
protected override void OnRowDeleted(DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.view_CarKuCunRowDeleted != null)) {
this.view_CarKuCunRowDeleted(this, new view_CarKuCunRowChangeEvent(((view_CarKuCunRow)(e.Row)), e.Action));
}
}
protected override void OnRowDeleting(DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.view_CarKuCunRowDeleting != null)) {
this.view_CarKuCunRowDeleting(this, new view_CarKuCunRowChangeEvent(((view_CarKuCunRow)(e.Row)), e.Action));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -