资源简介
1. 录入、修改录取名单及相关资料
2. 新生报到处理、班级调整后自动生成学号
3. 统计报到率等

代码片段和文件信息
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 test
{
public partial class baobiao : Form
{
private float yd;
private float zs;
public baobiao()
{
InitializeComponent();
}
private void baobiao_Load(object sender EventArgs e)
{
con();
showPic();
}
private void showPic()
{
float t=yd/zs;
float a = t * 360;
float b=360-a;
Bitmap bitM = new Bitmap(this.pictureBox1.Width this.pictureBox1.Height);
Graphics g = Graphics.FromImage(bitM);
g.FillPie(new SolidBrush(Color.BlueViolet) 0 0 this.pictureBox1.Width this.pictureBox1.Height 90 a);
g.FillPie(new SolidBrush(Color.Yellow) 0 0 this.pictureBox1.Width this.pictureBox1.Height 90+a b);
this.pictureBox1.BackgroundImage = bitM;
label1.Text =“报到率\n“+ t.ToString();
label2.Text = “应到:“ + zs.ToString() +“人“;
label3.Text = “实到:“ + yd.ToString() + “人“;
// MessageBox.Show(zs.ToString());
}
private void con()
{
string ConStr = “Persist Security Info=False;Integrated Security=SSPI;database=xiemeilong;server=(local)“;
SqlConnection con = new SqlConnection(ConStr);
string SqlStr = “select count(NO) from u_students where BAODAO = 1 “;
SqlDataAdapter ada = new SqlDataAdapter(SqlStr con);
DataSet ds = new DataSet();
ada.Fill(ds);
yd = Convert.ToSingle(ds.Tables[0].Rows[0].ItemArray[0]);
SqlStr = “select count(NO) from u_students “;
SqlDataAdapter ada2 = new SqlDataAdapter(SqlStr con);
DataSet ds2 = new DataSet();
ada2.Fill(ds2);
zs = Convert.ToSingle(ds2.Tables[0].Rows[0].ItemArray[0]);
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2175 2009-07-09 12:46 test\test\baobiao.cs
文件 6084 2009-07-09 12:46 test\test\baobiao.Designer.cs
文件 5814 2009-07-09 12:46 test\test\baobiao.resx
文件 4305 2009-07-09 12:48 test\test\BDForm.cs
文件 8672 2009-07-09 12:48 test\test\BDForm.Designer.cs
文件 5814 2009-07-09 12:48 test\test\BDForm.resx
文件 60416 2009-07-09 17:44 test\test\bin\Debug\test.exe
文件 85504 2009-07-09 17:44 test\test\bin\Debug\test.pdb
文件 14328 2009-07-09 18:12 test\test\bin\Debug\test.vshost.exe
文件 58880 2009-07-09 17:44 test\test\bin\Release\test.exe
文件 81408 2009-07-09 17:44 test\test\bin\Release\test.pdb
文件 2529 2009-07-09 12:48 test\test\Form1.cs
文件 7066 2009-07-09 12:48 test\test\Form1.Designer.cs
文件 5814 2009-07-09 12:48 test\test\Form1.resx
文件 1881 2009-07-09 12:48 test\test\Form2.cs
文件 9806 2009-07-09 12:48 test\test\Form2.Designer.cs
文件 5814 2009-07-09 12:48 test\test\Form2.resx
文件 2327 2009-07-09 12:48 test\test\Form3.cs
文件 4467 2009-07-09 12:48 test\test\Form3.Designer.cs
文件 5814 2009-07-09 12:48 test\test\Form3.resx
文件 5677 2009-07-09 17:44 test\test\login.cs
文件 8782 2009-07-09 17:44 test\test\login.Designer.cs
文件 36045 2009-07-09 17:44 test\test\login.resx
文件 5124 2009-07-09 12:48 test\test\LUQU.cs
文件 8189 2009-07-09 12:48 test\test\LUQU.Designer.cs
文件 5814 2009-07-09 12:48 test\test\LUQU.resx
文件 180 2009-07-09 12:46 test\test\obj\Debug\test.baobiao.resources
文件 180 2009-07-09 12:48 test\test\obj\Debug\test.BDForm.resources
文件 2688 2009-07-09 18:12 test\test\obj\Debug\test.csproj.FileListAbsolute.txt
文件 1261 2009-07-09 17:44 test\test\obj\Debug\test.csproj.GenerateResource.Cache
............此处省略52个文件信息
相关资源
- 数据库课程设计以及指导思想
- 数据库课程设计报告(关于房地产销
- 数据库课程设计(改改直接交)
- 3114006172陈世强数据库课程设计报告
- 餐饮管理系统数据库课程设计
- 数据库课程设计员工管理系统
- 培训机构管理系统数据库课程设计
- 数据库课程设计——工资管理系统-
- 银行管理系统——数据库课程设计
- 数据库课程设计-有图形界面-无需修改
- 书刊租借信息管理系统 数据库课程设
- 数据库课程设计终极版.zip
- 数据库课程设计学生选课管理系统
- 医院管理系统 数据库课程设计源码
- 仓库管理系统 数据库课程设计
- 数据库课程设计报告——航班售票管
- 空间数据库课程设计
- 数据库课程设计 商品销售管理系统
- 教学管理系统 数据库课程设计(含原
- 数据库课程设计 数据库课设
- 数据库课程设计-航空售票系统 实验报
- 广工 数据库课程设计 成绩管理系统
- 《数据库课程设计》课程设计-工厂管
- 数据库课程设计之物流管理系统
- 数据库课程设计 员工培训管理系统
- 数据库课程设计教室管理信息系统
- 数据库课程设计报告完整
- 课程设计 PB开发的订票系统
- 数据库课程设计 物流管理系统
- 酒店客房管理系统数据库课程设计1
评论
共有 条评论