setupselectshopingtype.cs
来自「一个基本的酒店管理系统」· CS 代码 · 共 26 行
CS
26 行
using System;
using ConnectDBLibrary;
namespace SetupOperDBLibrary
{
/// <summary>
/// SetupSelectShopingType 的摘要说明。
/// </summary>
public class SetupSelectShopingType
{
public void SelectShopingType(ConsumeTypeData data)
{
try
{
string cmtxt="select * from ConsumeType";
ConnectAndAccessingDB db=new ConnectAndAccessingDB();
db.Select(cmtxt,data.ConsumeType);
}
catch(Exception ex)
{
throw new ApplicationException("SetupSelectShopingType",ex);
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?