小区物业管理系统源码


功能描述: 基本信息管理 业主登记管理,业主迁出管理,楼栋信息管理,公共财产管理 物业管理 服务投诉管理,业主维修管理,公共维修管理,车位使用管理,突发事件管理 费用管理 水电气费登记,水电气费查询,水电气费交纳,物管费用登记,物管费用查询,物管费用交纳,其他费用交纳 报表管理 业主统计报表,投诉统计报表,业主维修报表,公共维修报表,收入统计报表 系统管理 分配用户权限,修改用户密码,小区信息设置
资源截图
代码片段和文件信息
using System;
using System.Data;
using System.Text;
using System.Data.OleDb;
using zoruan.DBUtility;//请先添加引用
namespace zoruan.DAL
{
/// 
/// 数据访问类Building。
/// 

public class BuildingDAL
{
        public BuildingDAL()
{}
#region  成员方法

/// 
/// 是否存在该记录
/// 

public bool Exists(int Building_ID)
{
StringBuilder strSql=new StringBuilder();
strSql.Append(“select count(1) from Building“);
strSql.Append(“ where Building_ID=@Building_ID “);
OleDbParameter[] parameters = {
new OleDbParameter(“@Building_ID“ OleDbType.Integer4)};
parameters[0].Value = Building_ID;

return DbHelperOleDb.Exists(strSql.ToString()parameters);
}


/// 
/// 增加一条数据
/// 

public int Add(zoruan.Model.Building model)
{
StringBuilder strSql=new StringBuilder();
strSql.Append(“insert into Building(“);
strSql.Append(“Building_Name)“);
strSql.Append(“ values (“);
strSql.Append(“@Building_Name)“);
OleDbParameter[] parameters = {
new OleDbParameter(“@Building_Name“ OleDbType.VarChar50)};
parameters[0].Value = model.Building_Name;

return DbHelperOleDb.ExecuteSql(strSql.ToString()parameters);
}
/// 
/// 更新一条数据
/// 

public int Update(zoruan.Model.Building model)
{
StringBuilder strSql=new StringBuilder();
strSql.Append(“update Building set “);
strSql.Append(“Building_Name=@Building_Name“);
strSql.Append(“ where Building_ID=@Building_ID “);
OleDbParameter[] parameters = {
new OleDbParameter(“@Building_Name“ OleDbType.VarChar50)
                    new OleDbParameter(“@Building_ID“ OleDbType.Integer4)};
            parameters[0].Value = model.Building_Name;
parameters[1].Value = model.Building_ID;


    return DbHelperOleDb.ExecuteSql(strSql.ToString()parameters);
}

/// 
/// 删除一条数据
/// 

public int Delete(int Building_ID)
{

StringBuilder strSql=new StringBuilder();
strSql.Append(“delete from Building “);
strSql.Append(“ where Building_ID=@Building_ID “);
OleDbParameter[] parameters = {
new OleDbParameter(“@Building_ID“ OleDbType.Integer4)};
parameters[0].Value = Building_ID;

    return DbHelperOleDb.ExecuteSql(strSql.ToString()parameters);
}


/// 
/// 得到一个对象实体
/// 

public zoruan.Model.Building GetModel(int Building_ID)
{

StringBuilder strSql=new StringBuilder();
strSql.Append(“select Building_IDBuilding_Name from Building “);
strSql.Append(“ where Building_ID=@Building_ID “);
OleDbParameter[] parameters = {
new OleDbParameter(“@Building_ID“ OleDbType.Integer4)};
parameters[0].Value = Building_ID;

zoruan.Model.Building model=new zoruan.Model.Building();
DataSet ds=DbHelperOleDb.Query(strSql.ToString()parameters);
if(ds.Tables[0].Rows.Count>0)
{
if(d

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    .......     65536  2014-09-15 13:45  小区物业管理系统源码DALinDebugDAL.dll

    .......     79360  2014-09-15 13:45  小区物业管理系统源码DALinDebugDAL.pdb

    .......   3543552  2014-09-15 13:45  小区物业管理系统源码DALinDebugDevComponents.DotNetBar2.dll

    .......    102400  2014-09-15 13:45  小区物业管理系统源码DALinDebugIBatisNet.Common.dll

    .......    249856  2014-09-15 13:45  小区物业管理系统源码DALinDebugIBatisNet.DataMapper.dll

    .......     86016  2014-09-15 13:45  小区物业管理系统源码DALinDebugMaticsoft.DBUtility.dll

    .......    187904  2014-09-15 13:45  小区物业管理系统源码DALinDebugMaticsoft.DBUtility.pdb

    .......   1100392  2014-09-15 13:45  小区物业管理系统源码DALinDebugMicrosoft.Office.Interop.Excel.dll

    .......     64088  2014-09-15 13:45  小区物业管理系统源码DALinDebugMicrosoft.Vbe.Interop.dll

    .......     16896  2014-09-15 13:45  小区物业管理系统源码DALinDebugModel.dll

    .......     77312  2014-09-15 13:45  小区物业管理系统源码DALinDebugModel.pdb

    .......    274432  2014-09-15 13:45  小区物业管理系统源码DALinDebugMySql.Data.dll

    .......    223800  2014-09-15 13:45  小区物业管理系统源码DALinDebugoffice.dll

    .......     50688  2014-09-15 13:45  小区物业管理系统源码DALinReleaseDAL.pdb

    .......    102400  2014-09-15 13:45  小区物业管理系统源码DALinReleaseIBatisNet.Common.dll

    .......    249856  2014-09-15 13:45  小区物业管理系统源码DALinReleaseIBatisNet.DataMapper.dll

    .......     57344  2014-09-15 13:45  小区物业管理系统源码DALinReleaseMaticsoft.DBUtility.dll

    .......      9728  2014-09-15 13:45  小区物业管理系统源码DALinReleaseModel.dll

    .......     46592  2014-09-15 13:45  小区物业管理系统源码DALinReleaseModel.pdb

    .......    274432  2014-09-15 13:45  小区物业管理系统源码DALinReleaseMySql.Data.dll

     文件    3621836  2015-04-27 11:29  小区物业管理系统源码DALin国内最大的免费商业源码下载平台.mht

     文件      14108  2015-07-21 10:13  小区物业管理系统源码DALin百纳科技源码.png

    .......      4681  2014-09-15 13:45  小区物业管理系统源码DALBuildingDAL.cs

    .......     42027  2014-09-15 13:45  小区物业管理系统源码DALCostListDAL.cs

    .......      2933  2014-09-15 13:45  小区物业管理系统源码DALDAL.csproj

    .......      5497  2014-09-15 13:45  小区物业管理系统源码DALFloorDAL.cs

    .......     13651  2014-09-15 13:45  小区物业管理系统源码DALHouseholdListDAL.cs

    .......      3450  2014-09-15 13:45  小区物业管理系统源码DALobjDebugDAL.csproj.FileListAbsolute.txt

    .......     47897  2014-09-15 13:45  小区物业管理系统源码DALobjDebugDAL.csprojResolveAssemblyReference.cache

    .......     65536  2014-09-15 13:45  小区物业管理系统源码DALobjDebugDAL.dll

............此处省略407个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)