📄 dataset2.cs
字号:
}
internal DataColumn remarkColumn {
get {
return this.columnremark;
}
}
public list_print2Row this[int index] {
get {
return ((list_print2Row)(this.Rows[index]));
}
}
public event list_print2RowChangeEventHandler list_print2RowChanged;
public event list_print2RowChangeEventHandler list_print2RowChanging;
public event list_print2RowChangeEventHandler list_print2RowDeleted;
public event list_print2RowChangeEventHandler list_print2RowDeleting;
public void Addlist_print2Row(list_print2Row row) {
this.Rows.Add(row);
}
public list_print2Row Addlist_print2Row(
int id,
string provider,
string c_year,
System.Single account_1,
System.Single payment_1,
System.Single account_2,
System.Single payment_2,
System.Single account_3,
System.Single payment_3,
System.Single account_4,
System.Single payment_4,
System.Single account_5,
System.Single payment_5,
System.Single account_6,
System.Single payment_6,
string remark) {
list_print2Row rowlist_print2Row = ((list_print2Row)(this.NewRow()));
rowlist_print2Row.ItemArray = new object[] {
id,
provider,
c_year,
account_1,
payment_1,
account_2,
payment_2,
account_3,
payment_3,
account_4,
payment_4,
account_5,
payment_5,
account_6,
payment_6,
remark};
this.Rows.Add(rowlist_print2Row);
return rowlist_print2Row;
}
public System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
public override DataTable Clone() {
list_print2DataTable cln = ((list_print2DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
protected override DataTable CreateInstance() {
return new list_print2DataTable();
}
internal void InitVars() {
this.columnid = this.Columns["id"];
this.columnprovider = this.Columns["provider"];
this.columnc_year = this.Columns["c_year"];
this.columnaccount_1 = this.Columns["account_1"];
this.columnpayment_1 = this.Columns["payment_1"];
this.columnaccount_2 = this.Columns["account_2"];
this.columnpayment_2 = this.Columns["payment_2"];
this.columnaccount_3 = this.Columns["account_3"];
this.columnpayment_3 = this.Columns["payment_3"];
this.columnaccount_4 = this.Columns["account_4"];
this.columnpayment_4 = this.Columns["payment_4"];
this.columnaccount_5 = this.Columns["account_5"];
this.columnpayment_5 = this.Columns["payment_5"];
this.columnaccount_6 = this.Columns["account_6"];
this.columnpayment_6 = this.Columns["payment_6"];
this.columnremark = this.Columns["remark"];
}
private void InitClass() {
this.columnid = new DataColumn("id", typeof(int), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnid);
this.columnprovider = new DataColumn("provider", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnprovider);
this.columnc_year = new DataColumn("c_year", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnc_year);
this.columnaccount_1 = new DataColumn("account_1", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnaccount_1);
this.columnpayment_1 = new DataColumn("payment_1", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnpayment_1);
this.columnaccount_2 = new DataColumn("account_2", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnaccount_2);
this.columnpayment_2 = new DataColumn("payment_2", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnpayment_2);
this.columnaccount_3 = new DataColumn("account_3", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnaccount_3);
this.columnpayment_3 = new DataColumn("payment_3", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnpayment_3);
this.columnaccount_4 = new DataColumn("account_4", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnaccount_4);
this.columnpayment_4 = new DataColumn("payment_4", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnpayment_4);
this.columnaccount_5 = new DataColumn("account_5", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnaccount_5);
this.columnpayment_5 = new DataColumn("payment_5", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnpayment_5);
this.columnaccount_6 = new DataColumn("account_6", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnaccount_6);
this.columnpayment_6 = new DataColumn("payment_6", typeof(System.Single), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnpayment_6);
this.columnremark = new DataColumn("remark", typeof(string), null, System.Data.MappingType.Element);
this.Columns.Add(this.columnremark);
}
public list_print2Row Newlist_print2Row() {
return ((list_print2Row)(this.NewRow()));
}
protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
return new list_print2Row(builder);
}
protected override System.Type GetRowType() {
return typeof(list_print2Row);
}
protected override void OnRowChanged(DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.list_print2RowChanged != null)) {
this.list_print2RowChanged(this, new list_print2RowChangeEvent(((list_print2Row)(e.Row)), e.Action));
}
}
protected override void OnRowChanging(DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.list_print2RowChanging != null)) {
this.list_print2RowChanging(this, new list_print2RowChangeEvent(((list_print2Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleted(DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.list_print2RowDeleted != null)) {
this.list_print2RowDeleted(this, new list_print2RowChangeEvent(((list_print2Row)(e.Row)), e.Action));
}
}
protected override void OnRowDeleting(DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.list_print2RowDeleting != null)) {
this.list_print2RowDeleting(this, new list_print2RowChangeEvent(((list_print2Row)(e.Row)), e.Action));
}
}
public void Removelist_print2Row(list_print2Row row) {
this.Rows.Remove(row);
}
}
[System.Diagnostics.DebuggerStepThrough()]
public class list_print2Row : DataRow {
private list_print2DataTable tablelist_print2;
internal list_print2Row(DataRowBuilder rb) :
base(rb) {
this.tablelist_print2 = ((list_print2DataTable)(this.Table));
}
public int id {
get {
try {
return ((int)(this[this.tablelist_print2.idColumn]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.tablelist_print2.idColumn] = value;
}
}
public string provider {
get {
try {
return ((string)(this[this.tablelist_print2.providerColumn]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.tablelist_print2.providerColumn] = value;
}
}
public string c_year {
get {
try {
return ((string)(this[this.tablelist_print2.c_yearColumn]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.tablelist_print2.c_yearColumn] = value;
}
}
public System.Single account_1 {
get {
try {
return ((System.Single)(this[this.tablelist_print2.account_1Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.tablelist_print2.account_1Column] = value;
}
}
public System.Single payment_1 {
get {
try {
return ((System.Single)(this[this.tablelist_print2.payment_1Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.tablelist_print2.payment_1Column] = value;
}
}
public System.Single account_2 {
get {
try {
return ((System.Single)(this[this.tablelist_print2.account_2Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.tablelist_print2.account_2Column] = value;
}
}
public System.Single payment_2 {
get {
try {
return ((System.Single)(this[this.tablelist_print2.payment_2Column]));
}
catch (InvalidCastException e) {
throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
}
}
set {
this[this.tablelist_print2.payment_2Column] = value;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -