using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Data;
|
using System.Drawing;
|
using System.Text;
|
using System.Windows.Forms;
|
|
namespace PayM
|
{
|
public partial class FrmChangeDate : Form
|
{
|
public FrmChangeDate()
|
{
|
InitializeComponent();
|
}
|
|
public Int64 iHInterID;
|
|
private void button2_Click(object sender, EventArgs e)
|
{
|
this.Close();
|
}
|
|
private void button1_Click(object sender, EventArgs e)
|
{
|
label1.Focus();
|
if (iHInterID > 0)
|
{
|
SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
|
oCn.RunProc("Update Pay_ErrWorkTimesSendBillMain set HAccDate='" + dateTimePicker1.Value.ToShortDateString() +"' where HInteriD=" + iHInterID.ToString());
|
MessageBox.Show("修改完毕!");
|
}
|
}
|
}
|
}
|