Part 1: Student information system | Student Management System in java netbeans and mysql

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 11

  • @codingwithnyemmal
    @codingwithnyemmal  Рік тому +1

    🔔 Turn on notifications 🔔 to stay updated and never miss any of our latest uploads! Kindly leave a like 👍, share 🔄, and subscribe 🛎 if you enjoy the content!

  • @abidshahoriar3839
    @abidshahoriar3839 25 днів тому

    your github link does not showing the neatbeans file . can you provide
    this file?

  • @sumipaul__
    @sumipaul__ 2 місяці тому +1

    If i want Without database connection, what should I do?i want save my data in file.. please reply ASAP ❤

    • @codingwithnyemmal
      @codingwithnyemmal  2 місяці тому

      To you want without a database connection, you can store the data in a file instead of using MySQL. One common approach in Java is to use a text file (like a .txt or .csv file) to write and read data.
      Here's a basic outline of what you can do:
      i. Save Data to a File: You can use Java's FileWriter or BufferedWriter to write student data into a text file.
      ii. Read Data from the File: Use BufferedReader to read the data from the file when needed.
      iii. Data Format: You can store the data in a structured format (such as CSV) where each line represents a student record.

    • @codingwithnyemmal
      @codingwithnyemmal  2 місяці тому

      Here’s an example to get you started:
      // Writing to file
      try (BufferedWriter writer = new BufferedWriter(new FileWriter("students.txt", true))) {
      writer.write(studentId + "," + studentName + "," + studentAge + "
      ");
      } catch (IOException e) {
      e.printStackTrace();
      }
      // Reading from file
      try (BufferedReader reader = new BufferedReader(new FileReader("students.txt"))) {
      String line;
      while ((line = reader.readLine()) != null) {
      String[] details = line.split(",");
      // Process student details here
      }
      } catch (IOException e) {
      e.printStackTrace();
      }
      This allows you to store and retrieve student information without using a database.

  • @kaelito777
    @kaelito777 5 місяців тому +1

    i mean you should also put how to do XAMPP because not all of us understand quickly how you do the XAMPP thing

    • @codingwithnyemmal
      @codingwithnyemmal  2 місяці тому

      Thank you for your feedback! I will include a walkthrough on how to install and configure XAMPP in future tutorials to make it easier to follow along. Thanks for the suggestion!

  • @yadavareddyrohitha7480
    @yadavareddyrohitha7480 2 місяці тому +1

    Can I run this code in vscode??

  • @saisatyakundaram
    @saisatyakundaram 2 місяці тому

    i want this version of apache netbeans 8.2!! please help me out

    • @codingwithnyemmal
      @codingwithnyemmal  2 місяці тому

      You can download it using this link: filehippo.com/download_netbeans/8.2/