setupselectoperpopedom.cs

来自「真的很不错哦 用了c#开发 面向对象过程」· CS 代码 · 共 27 行

CS
27
字号
using System;
using System.Data;
using ConnectDBLibrary;

namespace SetupOperDBLibrary
{
	/// <summary>
	/// SetupSelectOperPopedom 的摘要说明。
	/// </summary>
	public class SetupSelectOperPopedom
	{
		public void SelectOperPopedom(DataTable table,string aid)
		{
			try
			{
				string cmtxt=string.Format("select oper1,oper2,oper3,oper4,oper5,oper6,oper7,oper8 from OperPopedom where aid={0}",aid);
				ConnectAndAccessingDB db=new ConnectAndAccessingDB();
				db.Select(cmtxt,table);
			}
			catch(Exception ex)
			{
				throw new ApplicationException("SetupSelectOperPopedom",ex);
			}
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?