?? class1.cs
字號:
?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);
}
//統計回復信息數
public int CountTextSum()
{
DAL.Class1 Ay = new DAL.Class1();
return Ay.CountTextSum();
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -