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.Prj { public partial class fProjectList : Form { public fProjectList() { InitializeComponent(); } private void projectsBindingNavigatorSaveItem_Click(object sender, EventArgs e) { this.Validate(); this.bs.EndEdit(); this.tam.UpdateAll(this.dsMSSQL); } private void fProjectList_Load(object sender, EventArgs e) { // TODO: 이 코드는 데이터를 'dsMSSQL.Projects' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다. this.ta.Fill(this.dsMSSQL.Projects); this.dsMSSQL.Projects.TableNewRow += Projects_TableNewRow; } void Projects_TableNewRow(object sender, DataTableNewRowEventArgs e) { e.Row["wuid"] = Pub.Login.no; e.Row["wdate"] = DateTime.Now; } } }