public int Add_Data(ProfileInfo DataObj) {
		//System.out.println("ProfileDAO.Add_Data()");
		
		int res = 0;
		ProfileInfo profileObj = null;
		String sql = "INSERT INTO profile VALUES(?,?,?,?,?,?,?,?,?,?)";
        
		try {
			profileObj = (ProfileInfo)DataObj;
			
			con = getConnection();
			pstmt = con.prepareStatement(sql);
			
			pstmt.setInt(1, 0);
			pstmt.setString(2, profileObj.getProfileName());
			pstmt.setString(3, profileObj.getVideoWidth());
			pstmt.setString(4, profileObj.getVideoHeight());
			pstmt.setString(5, profileObj.getVideoFPS());
			pstmt.setString(6, profileObj.getVideoBitrate());
			pstmt.setString(7, profileObj.getVideoPreset());
			pstmt.setString(8, profileObj.getAudioCodec());
			pstmt.setString(9, profileObj.getAudioBitrate());
			pstmt.setString(10, profileObj.getAudioSamplerate());
			
			res = pstmt.executeUpdate();
			
		} catch (SQLException e) {
			e.printStackTrace();
		}finally {
            try {
                if (rs != null)
                    rs.close();
                if (pstmt != null)
                    pstmt.close();
                if (con != null)
                    con.close();
            } catch (SQLException e) {
                e.printStackTrace();
            } catch (Exception e) {
                e.printStackTrace();
            }
        }

		return res;
	}