资源简介
C#.NET 在线商城系统 进销存管理系统 源码 论文

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace SMS
{
public partial class frmLogin : Form
{
public static string M_str_name;//记录登录用户名字
public static string M_str_pwd;//记录登录用户密码
public static string M_str_right;//记录登录用户的权限
baseClass.DataCon datacon = new SMS.baseClass.DataCon();
baseClass.DataOperate doperate = new SMS.baseClass.DataOperate();
public frmLogin()
{
InitializeComponent();
}
private void frmLogin_Load(object sender EventArgs e)
{
doperate.cboxBind(“select UserName from tb_User“ “tb_User“ “UserName“ cboxUName);
}
private void btnLogin_Click(object sender EventArgs e)
{
int P_int_returnValue = doperate.UserLogin(cboxUName.Text.Trim() txtPwd.Text.Trim());
if (P_int_returnValue == 100)
{
M_str_name = cboxUName.Text;
M_str_pwd = txtPwd.Text.Trim();
frmMain fmain = new frmMain();
this.Hide();
fmain.Show();
}
if (P_int_returnValue == -100)
{
MessageBox.Show(“用户名或密码错误!“ “提示“ MessageBoxButtons.OK MessageBoxIcon.Information);
txtPwd.Text = ““;
cboxUName.Focus();
}
}
private void btnExit_Click(object sender EventArgs e)
{
Application.Exit();
}
private void cboxUName_SelectedIndexChanged(object sender EventArgs e)
{
SqlDataReader sqlread = datacon.getread(“select UserNameUserRight from tb_User where UserName=‘“ + cboxUName.Text + “‘“);
if (sqlread.Read())
{
labURight.Text = sqlread[“UserRight“].ToString();
M_str_right = labURight.Text;
}
sqlread.Close();
}
private void frmLogin_FormClosing(object sender FormClosingEventArgs e)
{
Application.Exit();
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1393152 2006-11-08 16:14 StockManagementSystem\SMS\Backup\data.bak
文件 2396 2012-03-17 20:25 StockManagementSystem\SMS\ba
文件 21862 2012-03-17 20:26 StockManagementSystem\SMS\ba
文件 4297 2006-11-03 09:43 StockManagementSystem\SMS\BasicInfo\frmGoodsInfo.cs
文件 16614 2006-11-03 09:42 StockManagementSystem\SMS\BasicInfo\frmGoodsInfo.Designer.cs
文件 8546 2006-11-03 09:42 StockManagementSystem\SMS\BasicInfo\frmGoodsInfo.resx
文件 5787 2006-11-07 09:43 StockManagementSystem\SMS\BasicInfo\frmPrInfo.cs
文件 14426 2006-11-06 19:08 StockManagementSystem\SMS\BasicInfo\frmPrInfo.Designer.cs
文件 9355 2006-11-06 19:08 StockManagementSystem\SMS\BasicInfo\frmPrInfo.resx
文件 5442 2006-11-02 16:22 StockManagementSystem\SMS\BasicInfo\frmStoreInfo.cs
文件 14019 2006-11-01 10:29 StockManagementSystem\SMS\BasicInfo\frmStoreInfo.Designer.cs
文件 9156 2006-11-01 10:29 StockManagementSystem\SMS\BasicInfo\frmStoreInfo.resx
文件 404 2012-03-17 15:49 StockManagementSystem\SMS\bin\Debug\AboutUs.txt
文件 1003008 2012-04-09 09:27 StockManagementSystem\SMS\bin\Debug\SMS.exe
文件 253440 2012-04-09 09:27 StockManagementSystem\SMS\bin\Debug\SMS.pdb
文件 14328 2012-05-05 10:18 StockManagementSystem\SMS\bin\Debug\SMS.vshost.exe
文件 490 2009-06-11 05:14 StockManagementSystem\SMS\bin\Debug\SMS.vshost.exe.manifest
文件 2355 2006-11-20 14:23 StockManagementSystem\SMS\bin\Debug\sum.jpg
文件 2359296 2012-03-17 20:57 StockManagementSystem\SMS\Databa
文件 3211264 2012-03-17 20:57 StockManagementSystem\SMS\Databa
文件 657 2006-11-07 15:19 StockManagementSystem\SMS\Databa
文件 1423 2006-11-04 13:40 StockManagementSystem\SMS\Databa
文件 509 2006-11-04 13:40 StockManagementSystem\SMS\Databa
文件 559 2006-11-04 13:40 StockManagementSystem\SMS\Databa
文件 416 2006-11-04 13:39 StockManagementSystem\SMS\Databa
文件 284 2006-11-04 13:39 StockManagementSystem\SMS\Databa
文件 261 2006-11-07 10:36 StockManagementSystem\SMS\Databa
文件 2308 2006-11-10 11:03 StockManagementSystem\SMS\frmLogin.cs
文件 7599 2006-11-10 11:03 StockManagementSystem\SMS\frmLogin.Designer.cs
文件 50480 2006-11-10 11:03 StockManagementSystem\SMS\frmLogin.resx
............此处省略213个文件信息
- 上一篇:毕业设计完整.net在线考试系统
- 下一篇:Asp.net 后台框架源码
相关资源
- 酒店管理系统(c#.net源码)
- C#进销存管理系统(Access数据库)英文
- 学校网站原代码(C#.NET)
- 基于c#.net平台的21点游戏
- C#.NET程序设计案例教程
- ERP实施方法论
- C#.net宾馆酒店管理系统
- C#.Net开发抠图工具
- 基于c#.net的网上书店的设计与实现
- 基于C#.NET的Autocad二次开发范例
- C#+SQL超市进销存管理系统
- C#.net宠物商店管理系统带数据库完整
- C#.net经典400个
- vb.net 与 c#.net 网络编程之 socket 套接字
- 基于C#技术的企业进销存管理系统开发
- 几个不错的C#.NET做的WINDOWS窗体应用小
- C#.NET程序设计带书签
- 杨晓光《Visual C#.NET程序设计》源代码
- C#进销存管理系统C#进销存管理系统
- C#.net实现的C/S版酒店管理系统
- Visual C#.NET 应用编程150例
- C#.NET教材管理系统
- 进销存管理系统+C#源代码
- 学生成绩管理系统 附带数据库文件
- 图书管理系统源码 C#.net
- 医院管理系统C#.NET 完整
- C#人事管理系统web版
- c#源码进销存管理系统
- C#.NET入门到精通
- 在线问卷调查系统(C#.NET)
评论
共有 条评论