net宿舍管理信息系统最终版完整源码-可二次开发.rar
net宿舍管理信息系统最终版完整源码-可二次开发.rar
net宿舍管理信息系统最终版完整源码-可二次开发.rar
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2209 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddAccident.cs
文件 10800 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddAccident.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddAccident.resx
文件 2181 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCharge.cs
文件 9805 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCharge.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCharge.resx
文件 2270 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCheck.cs
文件 10480 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCheck.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCheck.resx
文件 2640 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddDorm.cs
文件 13035 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddDorm.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddDorm.resx
文件 3323 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddHolidayStudent.cs
文件 11120 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddHolidayStudent.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddHolidayStudent.resx
文件 2229 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRegister.cs
文件 11071 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRegister.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRegister.resx
文件 2288 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRepair.cs
文件 11316 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRepair.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRepair.resx
文件 3305 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddStudent.cs
文件 10980 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddStudent.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddStudent.resx
文件 2670 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddYongHu.cs
文件 9269 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddYongHu.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddYongHu.resx
文件 2042 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AlterAccident.cs
文件 10759 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AlterAccident.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AlterAccident.resx
............此处省略332个文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace DormManageSystem
{
public partial class AddAccident : Form
{
private SqlConnection sqlConnection1 = null;
public AddAccident()
{
InitializeComponent();
this.sqlConnection1 = new SqlConnection(DormManageSystem.database.sqlConnection.connection);
}
private void btchongzhi_Click(object sender EventArgs e)
{
dormid.Text = ““;
person.Text = ““;
koufen.Text = ““;
shijian.Text = ““;
chuli.Text = ““;
}
private void btok_Click(object sender EventArgs e)
{
try
{
if (dormid.Text.Trim() == ““ || shijian.Text == ““||chuli.Text==““)
MessageBox.Show(“请输入完整信息!“ “提示“);
else
{
sqlConnection1.Open();
string sql = “select * from dorm where dormid =‘“ + dormid.Text.Trim() + “‘“;
SqlCommand cmd = new SqlCommand(sql sqlConnection1);
if (null == cmd.ExecuteScalar())
MessageBox.Show(“没有该宿舍号,请重新输入!“ “提示“);
else
{
sql = “insert into accident(dormidpersontimeaccidentkoufendeal) values(‘“ + dormid.Text.Trim() + “‘‘“ + person.Text.Trim()+ “‘‘“ + date.Value.Date.ToString() + “‘‘“ + shijian.Text+ “‘‘“ + koufen.Text.Trim()+ “‘‘“ + chuli.Text + “‘)“;
cmd.CommandText = sql;
cmd.ExecuteNonQuery();
MessageBox.Show(“添加信息成功!“ “提示“);
}
sqlConnection1.Close();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2209 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddAccident.cs
文件 10800 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddAccident.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddAccident.resx
文件 2181 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCharge.cs
文件 9805 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCharge.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCharge.resx
文件 2270 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCheck.cs
文件 10480 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCheck.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddCheck.resx
文件 2640 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddDorm.cs
文件 13035 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddDorm.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddDorm.resx
文件 3323 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddHolidayStudent.cs
文件 11120 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddHolidayStudent.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddHolidayStudent.resx
文件 2229 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRegister.cs
文件 11071 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRegister.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRegister.resx
文件 2288 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRepair.cs
文件 11316 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRepair.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddRepair.resx
文件 3305 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddStudent.cs
文件 10980 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddStudent.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddStudent.resx
文件 2670 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddYongHu.cs
文件 9269 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddYongHu.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AddYongHu.resx
文件 2042 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AlterAccident.cs
文件 10759 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AlterAccident.Designer.cs
文件 12550 2019-10-17 10:14 net宿舍管理信息系统最终版完整源码-可二次开发AlterAccident.resx
............此处省略332个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)