您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->酒店管理系统(ExtJs)源码>>HotelDAL/MoneyInfoDAO.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:酒店管理系统(ExtJs)源码
当前文件:文件类型 MyHotelManager/HotelDAL/MoneyInfoDAO.cs打开代码结构图
普通视图
		            
1using System; 2using System.Collections.Generic; 3using System.Text; 4using System.Data; 5using System.Data.SqlClient; 6 7namespace HotelDAL 8{ 9 public class MoneyInfoDAO 10 { 11 12 SqlHelper sh = new SqlHelper(); 13 DataSet ds; 14 private SqlParameter para; //参数 15 16 17 /// <summary> 18 /// 查账(全查,根据时间查询都可以) 19 /// </summary> 20 /// <returns></returns> 21 public DataSet SerachMoney(string BeginTime,string EndTime) 22 { 23 try 24 { 25 SqlParameter[] sp ={ 26 para = new SqlParameter("@BeginTime",BeginTime), 27 para = new SqlParameter("@EndTime",EndTime) 28 }; 29 ds = sh.GetDataSet("SerachMoney", sp); 30 } 31 catch (Exception ex) 32 { 33 throw ex; 34 } 35 return ds; 36 } 37 } 38} 39
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:酒店管理系统(ExtJs)源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号