public DataTable T_MakerInportRireki_SELECT(T_MakerInportRireki_Entity inport_data) { Dictionary <string, string> dic = new Dictionary <string, string>(); dic.Add("@DataSourseMakerCD", inport_data.DataSourseMakerCD); return(SelectData(dic, "T_MakerInportRireki_SELECT")); }
/// <summary>//【取込履歴】gridview Bind /// /// </summary> private void InportRireki_Select() { tmire = new T_MakerInportRireki_Entity(); tmire.DataSourseMakerCD = ucSupplier.UC_Code; DataTable dtInportRireki = psks0103ibl.T_MakerInportRireki_SELECT(tmire); dgvImportRireki.DataSource = dtInportRireki; }
private void Clear() { ucSupplier.UC_Code = string.Empty; ucSupplier.UC_Name = string.Empty; tmire = new T_MakerInportRireki_Entity(); DataTable dtInport = psks0103ibl.T_MakerInportRireki_SELECT(tmire); dgvImportRireki.DataSource = dtInport; lblTroikomiFile.Text = "ファイル名がXXXから始まるファイルを取込する。"; lblFileType.Text = "..."; lblHiddenKubun.Text = string.Empty; lblFormatCD.Text = string.Empty; lblFormatName.Text = string.Empty; }
private void frmPSKS0103I_Load(object sender, EventArgs e) { FunctionButtonDisabled(2); FunctionButtonDisabled(3); FunctionButtonDisabled(4); FunctionButtonDisabled(5); FunctionButtonDisabled(7); FunctionButtonDisabled(8); FunctionButtonDisabled(10); FunctionButtonDisabled(11); pskso116ibl = new PSKS0116I_BL(); psks0103ibl = new PSKS0103I_BL(); ucSupplier.GotFocus += new System.EventHandler(ucSupplier_GotFocus); FormName = "メーカー在庫取込"; lblMode.Visible = true; lblMode.Text = "先に通常取込を実施してください"; lblMode.BackColor = Color.FromArgb(255, 102, 255); lblMode.Width = 250; lblMode.TextAlign = ContentAlignment.MiddleCenter; btnImport.Enabled = false; FunctionButtonDisabled(12); mme = new M_MultiPorpose_Entity(); mme.fields = "Char1,Num1"; mme.tableName = "M_MultiPorpose"; mme.condition = "Where ID=101 And [Key]='1'"; DataTable dt = psks0103ibl.M_MultiPorpose_DynamicSelect(mme); if (dt.Rows.Count > 0) { lblServerPath.Text = "サーバーの" + dt.Rows[0]["Char1"].ToString() + "フォルダーに保存されているファイルを取込します。"; lblHistory.Text = dt.Rows[0]["Num1"] + "日間の履歴を保持しています"; folderPath = dt.Rows[0]["Char1"].ToString(); } dgvImportRireki.DisabledColumn("colNo1,colInportDateTime,colDataMoto,colInportFile,colInportOperator,colInportSu,colErrorSu"); dgvFileDetail.DisabledColumn("*"); tmire = new T_MakerInportRireki_Entity(); DataTable dtInport = psks0103ibl.T_MakerInportRireki_SELECT(tmire); dgvImportRireki.DataSource = dtInport; }
public DataTable T_MakerInportRireki_SELECT(T_MakerInportRireki_Entity tmire) { return(tmirdl.T_MakerInportRireki_SELECT(tmire)); }