📄 class1.cs~rf11c4427.tmp
字号:
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace BLL
{
public class Class1
{
//返回用户登录信息
public bool GetInfo(string username,string userpwd)
{
DAL.Class1 AA=new DAL.Class1();
return AA.GetInfo(username, userpwd);
}
//返回用户的修改签名
public string getuserlaber(string username,string userpwd)
{
DAL.Class1 AB = new DAL.Class1();
return AB.getuserlaber(username,userpwd);
}
//修改用户信息
public bool updateuser(string username, string userpwd, string userlaber, string userimage)
{
DAL.Class1 AC = new DAL.Class1();
return AC.updateuser(username, userpwd,userlaber,userimage);
}
//显示用户的密码信息
public string showpwd(string username)
{
DAL.Class1 AD = new DAL.Class1();
return AD.showpwd(username);
}
//向表ClassText中添加用户留言信息
public bool inserly(string usertitle, string usercontents, int Userid, DateTime tiem)
{
DAL.Class1 AE = new DAL.Class1();
return AE.inserly(usertitle,usercontents,Userid,tiem);
}
//显示用户的UserID信息
public int showUserID(string username)
{
DAL.Class1 AF = new DAL.Class1();
return AF.showUserID(username);
}
//显示用户名
public string getname(string username)
{
DAL.Class1 AG = new DAL.Class1();
return AG.getname(username);
}
//插入新注册用户信息
public bool insert(string strtxtName,string strUserPassword,int strage, string strUserYeah, string strUserAddress, string strQQ,string strUserMsn,string strUserEmail,string strYserTel, string strUserImage, string strUserLaber)
{
DAL.Class1 Aj = new DAL.Class1();
return Aj.insert(strtxtName,strUserPassword,strage,strUserYeah,strUserAddress,strQQ,strUserMsn,strUserEmail,strYserTel,strUserImage,strUserLaber);
}
//返回留言人的一些留言信息
public DataSet Sele()
{
DAL.Class1 Ak = new DAL.Class1();
return Ak.Sele();
}
//统计留言数
public int CountText()
{
DAL.Class1 Al = new DAL.Class1();
return Al.CountText();
}
//累计访问了多少次
public void UpdateSum(int aa)
{
DAL.Class1 Aq= new DAL.Class1();
Aq.UpdateSum(aa);
}
//插入回复
public bool InsertBack(int txtid,string strusername, string strbackbody, DateTime strbacktime)
{
DAL.Class1 Aw = new DAL.Class1();
return Aw.InsertBack(txtid,strusername,strbackbody,strbacktime);
}
//返回回复表中的回复ID号
public int gettextID(string strname)
{
DAL.Class1 Ae = new DAL.Class1();
return Ae.gettextID(strname);
}
//返回回复表的数据集对象
public DataSet SeleBack()
{
DAL.Class1 Ar = new DAL.Class1();
return Ar.SeleBack();
}
//返回注册用户的权限
public string getroot(string username)
{
DAL.Class1 At = new DAL.Class1();
return At.getroot(username);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -