资源简介
基于ASP.NET车辆管理系统源码,经过测试可以直接使用!

代码片段和文件信息
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.OleDb;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
namespace CarControl
{
///
/// addcarForm 的摘要说明。
///
public class addcarForm : System.Web.UI.Page
{
protected System.Web.UI.WebControls.TextBox TextBox1;
protected System.Web.UI.WebControls.TextBox TextBox2;
protected System.Web.UI.WebControls.TextBox TextBox5;
protected System.Web.UI.WebControls.TextBox TextBox6;
protected System.Web.UI.WebControls.DropDownList DropDownList1;
protected System.Web.UI.WebControls.DropDownList DropDownList2;
protected System.Web.UI.WebControls.Button Button1;
protected System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
protected System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator2;
protected System.Web.UI.WebControls.TextBox TextBox3;
protected System.Web.UI.WebControls.Label Label1;
private void Page_Load(object sender System.EventArgs e)
{
if(Session[“S_username“].ToString()==““)
{
Response.Redirect(“index.aspx“);
}
if(Session[“S_userrule“].ToString()==““)
{
Response.Redirect(“main1.aspx“);
}// 在此处放置用户代码以初始化页面
if(!IsPostBack)
{
//初始化单位名单
string SqlConn=System.Configuration.ConfigurationSettings.AppSettings[“ConnString“];
SqlConnection Conn=new SqlConnection(SqlConn);
Conn.Open();
string sqlstring=“select * from bumen“;
SqlDataAdapter myadapter =new SqlDataAdapter(sqlstringConn);
DataSet ds=new DataSet();
myadapter.Fill(ds“bumen“);
DropDownList1.DataSource=ds;
DropDownList1.DataTextField=“type“;
DropDownList1.DataValueField=“type“;
DropDownList1.DataBind();
DropDownList1.Items.Add(“暂无“);
DropDownList1.Items[DropDownList1.Items.Count-1].Value=““;
DropDownList1.SelectedIndex=this.DropDownList1.Items.Count - 1;
//初始化司机名单
string sqlstring1=“select * from [user] where part=‘院办(车队)‘“;
SqlCommand cmd=new SqlCommand();
cmd.Connection=Conn;
cmd.CommandText=sqlstring1;
SqlDataReader dsread=cmd.ExecuteReader();
if(!dsread.Read())
{
DropDownList2.Items.Add(“任意人“);
DropDownList2.Items[DropDownList2.Items.Count-1].Value=““;
DropDownList2.SelectedIndex=this.DropDownList2.Items.Count - 1;
}
else
{
dsread.Close();
SqlDataAdapter myadapter1 =new SqlDataAdapter(sqlstring1Conn);
DataSet ds1=new DataSet();
myadapter1.Fill(ds1“user“);
DropDownList2.DataSource=ds1;
DropDownList2.DataTextField=“name“;
DropDownList2.DataValueField=“name“;
DropDownList2.DataBind();
DropDownList2.Items.Add(“任意人“);
DropDownList2.Ite
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4318 2007-03-10 15:23 车辆管理系统源码(asp[1].net)\addcarForm.aspx
文件 5323 2007-03-10 15:23 车辆管理系统源码(asp[1].net)\addcarForm.aspx.cs
文件 5317 2007-03-10 15:23 车辆管理系统源码(asp[1].net)\addcarForm.aspx.resx
文件 2115 2007-01-27 11:34 车辆管理系统源码(asp[1].net)\AssemblyInfo.cs
文件 4685 2007-03-10 15:53 车辆管理系统源码(asp[1].net)\beifen.aspx
文件 5620 2007-03-10 15:53 车辆管理系统源码(asp[1].net)\beifen.aspx.cs
文件 5317 2007-03-10 15:53 车辆管理系统源码(asp[1].net)\beifen.aspx.resx
文件 102400 2007-04-13 14:59 车辆管理系统源码(asp[1].net)\bin\car1.dll
文件 228864 2007-04-13 14:59 车辆管理系统源码(asp[1].net)\bin\car1.pdb
文件 626 2007-01-29 18:51 车辆管理系统源码(asp[1].net)\bottom.aspx
文件 952 2007-01-29 18:51 车辆管理系统源码(asp[1].net)\bottom.aspx.cs
文件 1733 2002-01-30 13:04 车辆管理系统源码(asp[1].net)\bottom.aspx.resx
文件 65782 2007-03-19 23:04 车辆管理系统源码(asp[1].net)\car1.csproj
文件 106 2007-04-13 14:50 车辆管理系统源码(asp[1].net)\car1.csproj.webinfo
文件 5261 2007-04-13 14:28 车辆管理系统源码(asp[1].net)\careditForm.aspx
文件 9032 2007-04-13 14:28 车辆管理系统源码(asp[1].net)\careditForm.aspx.cs
文件 5317 2007-04-12 22:35 车辆管理系统源码(asp[1].net)\careditForm.aspx.resx
文件 1720 2007-02-05 22:46 车辆管理系统源码(asp[1].net)\car_action.aspx
文件 2024 2007-02-06 00:59 车辆管理系统源码(asp[1].net)\car_action.aspx.cs
文件 5317 2007-02-05 22:08 车辆管理系统源码(asp[1].net)\car_action.aspx.resx
文件 3414 2007-03-14 14:45 车辆管理系统源码(asp[1].net)\car_care.aspx
文件 2616 2007-03-13 18:33 车辆管理系统源码(asp[1].net)\car_care.aspx.cs
文件 5317 2007-03-11 19:34 车辆管理系统源码(asp[1].net)\car_care.aspx.resx
文件 5159 2007-03-13 18:05 车辆管理系统源码(asp[1].net)\car_careadd.aspx
文件 3607 2007-03-13 18:20 车辆管理系统源码(asp[1].net)\car_careadd.aspx.cs
文件 5317 2007-03-13 18:20 车辆管理系统源码(asp[1].net)\car_careadd.aspx.resx
文件 5159 2007-03-13 16:53 车辆管理系统源码(asp[1].net)\car_careset.aspx
文件 5165 2007-03-13 18:47 车辆管理系统源码(asp[1].net)\car_careset.aspx.cs
文件 5317 2007-03-13 17:26 车辆管理系统源码(asp[1].net)\car_careset.aspx.resx
文件 3171 2007-03-14 21:31 车辆管理系统源码(asp[1].net)\car_care_user.aspx
............此处省略361个文件信息
相关资源
- 考试管理系统 - C#源码
- Asp.net学生信息管理系统源码
- 超市进销存管理系统 Sqlserver 数据库文
- asp.net C#购物车源代码
- ASP.NET实验室预约管理系统
- 020ASP.NET车辆综合管理系统.zip
- 语音播报系统叫号系统的
- 操作系统 模拟的 欢迎下载 C#版
- c#小型图书销售系统
- C#语音识别系统speechsdk51,SpeechSDK51L
- 基于c#的实验室设备管理系统621530
- C#指纹识别系统程序 报告
- c# 高校档案信息管理系统
- C# Socket Tcp文件传输和文字聊天系统
- 北大青鸟ACCP8.0S1使用C#开发数据库应用
- 用C#做的鲜花管理系统
- asp.net中c#做的躲避小游戏,希望大家
- ASP.NET C# 工资管理系统
- 班级管理系统(C#实现)
- 随机抽题系统C#源代码
- c#在线考试系统(附源码)
- C# SQL学生选课系统
- 毕业设计_房屋中介系统(C#版)
- ASP.NET客户管理系统(毕业设计 C#
- 在线求职系统(C#ASP.NET源码)
- 医院门诊管理系统 aspc#access数据库
- 医院业务管理系统(C#源代码)
- 学生信息管理系统(C# 控制台下)
- 酒店管理系统(c#.net源码)
- 图书管理系统-----------C# 版
评论
共有 条评论