Esempio n. 1
0
        public bool EditJKINFO(MapApp.Entities.JKINFO OBJJKINFO, String MDBFileName)
        {
            String SQL = String.Format("UPDATE JKINFO  SET NDH={0},SBLX={1} WHERE MAPINFO_ID ={2}"
                                       , OBJJKINFO.NDH, OBJJKINFO.SBLX, OBJJKINFO.MAPINFO_ID);

            return(MDBHelp.ExcuteSQL(MDBFileName, SQL));
        }
Esempio n. 2
0
        public bool AddJKINFO(MapApp.Entities.JKINFO OBJJKINFO, String MDBFileName)
        {
            String SQL = String.Format("INSERT INTO JKINFO (NDH,SBLX)values({0},{1})"
                                       , OBJJKINFO.NDH, OBJJKINFO.SBLX);

            return(MDBHelp.ExcuteSQL(MDBFileName, SQL));
        }
Esempio n. 3
0
        public bool DeleteJKINFO(Int32 NDH, String MDBFileName)
        {
            MapApp.Entities.JKINFO OBJJKINFO = new MapApp.Entities.JKINFO();
            String SQL = String.Format("DELETE FROM JKINFO WHERE NDH={0}"
                                       , NDH);

            return(MDBHelp.ExcuteSQL(MDBFileName, SQL));
        }