usermanager.cs
来自「《C#和.NET第一步》中的财务系统 利用三层结构做的」· CS 代码 · 共 24 行
CS
24 行
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Common;
namespace Business
{
public class UserManager
{
public bool Insert(User t)
{
if (t.UName.Length > 0 && t.UPwd.Length > 6)
return false;
return new DataAccess.Users().Insert(t);
}
public DataSet GetUsers()
{
return new DataAccess.Users().GetUsers();
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?