public void ADD() { dal.Connect(); string sql = "Insert into Mojavez(Project_Num,Auto_ID,Auto_Date,Addr)"; sql += " Values('{0}','{1}','{2}','{3}')"; sql = string.Format(sql, this.Project_Num, this.Auto_ID, this.Auto_Date, this.Addr); dal.EXE(sql); dal.DisConnect(); }