Exemplo n.º 1
0
 private void SaveData()
 {
     SkyMap.Net.DataForms.DataEngine.SQLDataEngine sqlDataEngine ;
     if (m_dstDjksq.HasChanges() == true)
     {
         foreach (DataRow dr in m_dstDjksq.Tables[0].Rows)
         {
             dr["B_id"] = m_strDkid;
         }
         sqlDataEngine = new SkyMap.Net.DataForms.DataEngine.SQLDataEngine();
         sqlDataEngine.SaveData(m_dstDjksq);
     }
 }
Exemplo n.º 2
0
 private void SaveData()
 {
     if (m_dstPhoto.HasChanges() == true)
     {
         foreach (DataRow dr in m_dstPhoto.Tables[0].Rows)
         {
             dr["dk_id"] = m_strDkid;
         }
         SkyMap.Net.DataForms.DataEngine.SQLDataEngine sqlDataEngine = new SkyMap.Net.DataForms.DataEngine.SQLDataEngine();
         sqlDataEngine.SaveData(m_dstPhoto);
     }
 }
Exemplo n.º 3
0
 private void SaveData()
 {
     SMDataSource smDs = this.dataFormController.DAODataForm.DataSource;
     SkyMap.Net.DataForms.DataEngine.SQLDataEngine sqlDataEngine = new SkyMap.Net.DataForms.DataEngine.SQLDataEngine();
     sqlDataEngine.SaveData(smDs, m_dstAll.Tables["yw_yddj"]);
     sqlDataEngine.SaveData(smDs, m_dstAll.Tables["yw_ydfdj"]);
     sqlDataEngine.RefreshDataset(smDs, m_dstAll);
 }