Hello Logout
 

Projects

Student Management System a .Net Project

You are not Member of this Project.
Project Owner : vani.R
Created Date : Tue, 13/03/2012 - 09:27
Project Description :

 

 

Description: 

Student Management System a .Net Project explains about the student management. It mainly explains the various actions related to student details. It shows some ease in adding, editing and deleting the student details. It also provides a less time consuming process for viewing, adding, editing and deleting the marks of the students. Student Management System includes, student registration, subject allocation, branch selection, semester wise selection, examination marks entry and displaying branch and semester wise result. 

 

Why there should be the use of Student Management System Software(s)? 

This software is helpful for students as well as the school authorities. In the current system all the activities are done manually. It is very time consuming and costly. This system deals with the various activities related to the students. Proposed system has the provision of adding the details of the students by themselves. So the overhead of the school authorities and the teachers will become less. 

Another advantage of the system is that it is very easy to edit the details of the student and delete a student when it found unnecessary. The marks of the student are added in the database and so students can also view the marks whenever they want. Proposed system had some advantages for example it is User friendly interface, Fast access to database, More Storage Capacity, Search facility, Quick transaction etc. 

 

CODE:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace HBA_ITDNW07
{
public partial class DataCollector : Form
{
Data_Access data = new Data_Access();
findComputers find = new findComputers();
ConnectingNodes form = new ConnectingNodes();
public DataCollector()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
button1.Enabled = false;
int newFilescount=0;
int oldFilesCount = 0;
int addFilesCount = 0;

data.DBReader("Select * from fileinfo");
if (data.dr.HasRows)
{
int count = comboBox1.Items.Count;

for (int i = 0; i <= count - 1; i++)
{
string pcName = "\\\\" + comboBox1.Items[i].ToString() + "\\HBA";
foreach (string filename in Directory.GetFiles(pcName ))
{
data.DBReader("Exec newfile_sp 1,'" + filename + "','" + comboBox1.Items[i].ToString() + "'");
newFilescount++;
}
}
for (int i = 0; i <= count - 1; i++)
{
data.DBReader("select count(*) from fileinfo where systemname='" + comboBox1.Items[i].ToString() + "'");
if (data.dr.HasRows)
{
data.dr.Read();
oldFilesCount = Convert.ToInt32(data.dr[0].ToString());
}

}
for (int i = 0; i <= count - 1; i++)
{
data.DBReader("select count(*) from newfile where systemname='" + comboBox1.Items[i].ToString() + "'");
if (data.dr.HasRows)
{
data.dr.Read();
newFilescount = Convert.ToInt32(data.dr[0].ToString());
}

}
data.DBReaderClose();
addFilesCount = newFilescount - oldFilesCount;

string[] addFiles = new string[addFilesCount];
int a = 0;
data.DBReader("select * from newfile where filename not in(Select filename from fileinfo)");
if (data.dr.HasRows)
{
while (data.dr.Read())
{
addFiles[a] = data.dr["filename"].ToString();
a++;
}
}

}
else
{
int count = comboBox1.Items.Count;
for (int i = 0; i <= count - 1; i++)
{
string pcName = "\\\\" + comboBox1.Items[i].ToString() + "\\HBA";
foreach (string filename in Directory.GetFiles(pcName))
{

FileInfo fi = new FileInfo(filename);
double size = fi.Length / 1024;
DateTime dateOfCreation = fi.CreationTime;
string fileType = fi.Extension.ToString();

FileStream fs = new FileStream(filename, FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(filename);
string s = sr.ReadToEnd();
sr.Close();
fs.Close();

StreamReader SR;
string ss = "";
string S;

SR = File.OpenText(filename);
= SR.ReadLine();
while (!= null)
{
richTextBox1.Text += S;
= SR.ReadLine();
}

SR.Close();
ss = richTextBox1.Text;
richTextBox1.Text = "";

int a=ss.Length;
string sss = "";

if (< 100)
{
sss = ss.Substring(0, a);
}
else
{
sss = ss.Substring(0, 100);
}
data.DBCMDExcute("exec fileInfo_sp '" + comboBox1.Items[i].ToString() + "','" + filename + "','" + sss + "'," + size + ",'" + dateOfCreation + "','" + fileType + "'");
}

}
}

button1.Enabled = true;
}

public void InsertData(string fullPath,string systemName)
{

}

private void Form3_Load(object sender, EventArgs e)
{
//ConnectingNodes frm1 = new ConnectingNodes();
//frm1.Close();
}
}
}

 

 

Conclusion: 

All the manual difficulties in managing the student details in a school or college have been rectified by implementing computerization. This project is only a humble venture to satisfy the needs in an Institution. Several user friendly coding have also adopted. This package shall prove to be a powerful package in satisfying all the requirements of the organization. Its main objective is to provide a frame work that enables the manger to make reasonable estimates made within a limited time frame at the beginning of the software project and should be updated regularly as the project gets progressed.

 

You are not authorized to access this content.
You are not authorized to access this content.
You are not authorized to access this content.
You are not authorized to access this content.
You are not authorized to access this content.