You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
C#
34 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Mesnac.Action.Base;
|
|
using Mesnac.Controls.Base;
|
|
using System.Windows.Forms;
|
|
using Mesnac.Codd.Session;
|
|
using System.Data;
|
|
namespace Mesnac.Action.Intake.Qingquan.SaveData
|
|
{
|
|
public class SetDayBin:IntakeAction,IAction
|
|
{
|
|
public void Run(RuntimeParameter runtime)
|
|
{
|
|
base.RunIni(runtime); //必须调用
|
|
MessageBox.Show(Language(290), Language(1), MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
runtime.IsReturn = true;
|
|
return;
|
|
|
|
//string sql = "INSERT INTO dbo.PMT_MATERIAL( Mater_ID ,mater_code ,mater_name ,Mater_Bycode) VALUES ( @Mater_ID ,@mater_code,@mater_name,@Mater_Bycode)";
|
|
|
|
//DbHelper dbHelper = NewDbHelper(Mesnac.Basic.DataSourceFactory.MCDbType.Local);
|
|
//dbHelper.CommandText = sql;
|
|
//dbHelper.CommandType = CommandType.Text;
|
|
//dbHelper.AddParameter("@Mater_ID", Mater_ID.Text);
|
|
//dbHelper.AddParameter("@mater_code", Mater_Code.Text);
|
|
//dbHelper.AddParameter("@mater_name", Mater_Name.Text);
|
|
//dbHelper.AddParameter("@Mater_Bycode", Mater_Bycode.Text);
|
|
//dbHelper.ExecuteNonQuery();
|
|
}
|
|
}
|
|
}
|