コード例 #1
0
 private void DeleteHallData()
 {
     deleteData = new PublicClasses.DeleteData();
     deleteData.DeleteDetails("sp_Delete_HallData", obj.sqlConnection, "@Hall_No", txtHallNo.Text.ToString());
     MessageBox.Show(Properties.Resources.deleteHallDetails, Properties.Resources.CompanyName, MessageBoxButtons.OK, MessageBoxIcon.Information);
     PopulateData();
 }
コード例 #2
0
 private void DeleteSubjectData()
 {
     deleteData = new PublicClasses.DeleteData();
     deleteData.DeleteDetails("sp_Delete_SubjectData", obj.sqlConnection, "@Subject_Id", txtSubjectId.Text.ToString());
     MessageBox.Show(Properties.Resources.deleteSubject, Properties.Resources.CompanyName, MessageBoxButtons.OK, MessageBoxIcon.Information);
     PopulateData();
 }