⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setupupdateroomtypebytid.cs

📁 真的很不错哦 用了c#开发 面向对象过程
💻 CS
字号:
using System;
using ConnectDBLibrary;

namespace SetupOperDBLibrary
{
	/// <summary>
	/// SetupUpdateRoomTypeByTid 的摘要说明。
	/// </summary>
	public class SetupUpdateRoomTypeByTid
	{
		public bool UpdateRoomTypeByTid(string tid,string type,string priceday,string pricehour,string istimeroom,string setNum)
		{
			bool bl=false;
			try
			{
				string cmtxt=string.Format("exec UpdateRoomTypeByTid {0},'{1}',{2},{3},{4},{5}",tid,type,priceday,pricehour,istimeroom,setNum);
				ConnectAndAccessingDB db=new ConnectAndAccessingDB();
				bl=db.Update(cmtxt);
			}
			catch(Exception ex)
			{
				throw new ApplicationException("SetupUpdateRoomTypeByTid",ex);
			}
			return bl;
		}
	}
}

⌨️ 快捷键说明

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