| | |
| | | // |
| | | this.gv_caa001.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.gv_caa001.AppearanceCell.Options.UseFont = true; |
| | | this.gv_caa001.Caption = "投料单号"; |
| | | this.gv_caa001.Caption = "单据编号"; |
| | | this.gv_caa001.FieldName = "caa001"; |
| | | this.gv_caa001.MinWidth = 100; |
| | | this.gv_caa001.Name = "gv_caa001"; |
| | |
| | | this.gv_orderNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.gv_orderNo.AppearanceCell.Options.UseFont = true; |
| | | this.gv_orderNo.Caption = "单据编号"; |
| | | this.gv_orderNo.FieldName = "orderNo"; |
| | | this.gv_orderNo.FieldName = "orderNoSub"; |
| | | this.gv_orderNo.MinWidth = 120; |
| | | this.gv_orderNo.Name = "gv_orderNo"; |
| | | this.gv_orderNo.OptionsColumn.AllowEdit = false; |
| | |
| | | { |
| | | gcMain.DataSource = dt; |
| | | gcMain.ForceInitialize(); |
| | | gridView1.BestFitColumns(); |
| | | } |
| | | else |
| | | UtilityHelper.SetDefaultTable(gcMain, gridView1); |