📄 setupupdateadmininfo.cs
字号:
using System;
using ConnectDBLibrary;
namespace SetupOperDBLibrary
{
/// <summary>
/// SetupUpdateAdminInfo 的摘要说明。
/// </summary>
public class SetupUpdateAdminInfo
{
public bool UpdateAdminInfo(string aid,string isSuper,string isLock)
{
bool bl=false;
try
{
string cmtxt=string.Format("update OperPopedom set IsLock={0},isSuper={1} where aid={2}",isLock,isSuper,aid);
ConnectAndAccessingDB db=new ConnectAndAccessingDB();
bl=db.Update(cmtxt);
}
catch(Exception ex)
{
throw new ApplicationException("SetupUpdateAdminInfo==",ex);
}
return bl;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -