Files
Groupware/Project/_Management/fLineCode.cs
2018-07-23 17:35:21 +09:00

42 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Project._Management
{
public partial class fLineCode : Form
{
public fLineCode()
{
InitializeComponent();
}
private void lineCodeBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.bs.EndEdit();
this.tam.UpdateAll(this.dsMSSQL);
}
private void fLineCode_Load(object sender, EventArgs e)
{
// TODO: 이 코드는 데이터를 'dsMSSQL.LineCode' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
this.ta.Fill(this.dsMSSQL.LineCode);
this.dsMSSQL.LineCode.TableNewRow += LineCode_TableNewRow;
}
void LineCode_TableNewRow(object sender, DataTableNewRowEventArgs e)
{
e.Row["wuid"] = Pub.Login.no;
e.Row["wdate"] = DateTime.Now;
}
}
}