一套功能强大的OA系统,包含强大的流程可视化设计及OA全部功能
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 17903 2015-05-06 21:36 AllPower.BLLAllPower.BLL.csproj
....... 478 2015-05-06 21:36 AllPower.BLLAllPower.BLL.csproj.user
....... 79 2015-05-06 21:36 AllPower.BLLapp.config
....... 453120 2015-05-06 21:36 AllPower.BLLinDebugAllPower.BLL.dll
....... 79 2015-05-06 21:36 AllPower.BLLinDebugAllPower.BLL.dll.config
....... 1191424 2015-05-06 21:36 AllPower.BLLinDebugAllPower.BLL.pdb
....... 107520 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Common.dll
....... 314880 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Common.pdb
....... 26624 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Config.dll
....... 138752 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Config.pdb
....... 37376 2015-05-06 21:36 AllPower.BLLinDebugAllPower.IDAL.dll
....... 7680 2015-05-06 21:36 AllPower.BLLinDebugAllPower.IDAL.pdb
....... 205824 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Model.dll
....... 1302016 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Model.pdb
....... 370176 2015-05-06 21:36 AllPower.BLLinDebugAllPower.SQLServer.dll
....... 849408 2015-05-06 21:36 AllPower.BLLinDebugAllPower.SQLServer.pdb
....... 136192 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Template.dll
....... 372224 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Template.pdb
....... 114688 2015-05-06 21:36 AllPower.BLLinDebugAspNetPager.dll
....... 36864 2015-05-06 21:36 AllPower.BLLinDebugInterop.ADOX.dll
....... 950272 2015-05-06 21:36 AllPower.BLLinDebugInterop.SQLDMO.dll
....... 453120 2015-05-06 21:36 AllPower.BLLinDebugKingTop.BLL.dll
....... 79 2015-05-06 21:36 AllPower.BLLinDebugKingTop.BLL.dll.config
....... 111616 2015-05-06 21:36 AllPower.BLLinDebugKingTop.Common.dll
....... 26624 2015-05-06 21:36 AllPower.BLLinDebugKingTop.Config.dll
....... 37376 2015-05-06 21:36 AllPower.BLLinDebugKingTop.IDAL.dll
....... 7680 2015-05-06 21:36 AllPower.BLLinDebugKingTop.IDAL.pdb
....... 205824 2015-05-06 21:36 AllPower.BLLinDebugKingTop.Model.dll
....... 370176 2015-05-06 21:36 AllPower.BLLinDebugKingTop.SQLServer.dll
....... 136192 2015-05-06 21:36 AllPower.BLLinDebugKingTop.Template.dll
............此处省略6741个文件信息
#region 引用程序集
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.Data;
using System.Configuration;
using System.Reflection;
using System.Web.UI.WebControls;
using System.Web;
using System.xml.XPath;
using System.xml;
using System.Text.Regularexpressions;
using AllPower.IDAL;
using AllPower.Model;
using AllPower.BLL.Template;
using AllPower.Template.ParamType;
#endregion
#region 版权注释
/*----------------------------------------------------------------------------------------
// Copyright (C) 2010 华强北在线
// 作者:吴岸标
// 创建日期:2011-1-11
// 功能描述:DW中调用接口
----------------------------------------------------------------------------------------*/
#endregion
namespace AllPower.BLL
{
public class DWAPI
{
#region 变量成员
private static string path = ConfigurationManager.AppSettings[“WebDAL“];
private IDAL.IDWAPI dal = (IDAL.IDWAPI)Assembly.Load(path).CreateInstance(path + “.DWAPI“);
#endregion
#region 获取站点栏目
public string GetMenuList(string siteID)
{
StringBuilder sbResult;
DataTable dt;
sbResult = new StringBuilder();
if (!string.IsNullOrEmpty(siteID))
{
dt = dal.GetMenuList(siteID);
if (dt != null && dt.Rows.Count > 0)
{
sbResult.Append(“[“);
TreeBind(ref sbResult dt dt.Rows[0][“ParentID“].ToString() string.Empty);
sbResult.Append(“]“);
}
}
if (sbResult.Length < 1)
{
sbResult.Append(“(null)“);
}
return sbResult.ToString();
}
#region 添加项
private void TreeBind(ref StringBuilder sbResult DataTable dataSource string parentID string parentPrevStr)
{
DataRow[] drNode;
DataRow[] drChildNode;
string currentPrevStr;
string nodetitle;
string nodeValue;
drNode = null;
drChildNode = null;
nodetitle = string.Empty;
nodeValue = string.Empty;
drNode = dataSource.Select(“ParentID=‘“ + parentID + “‘“);
currentPrevStr = parentPrevStr;
if (drNode != null)
{
foreach (DataRow dr in drNode)
{
nodeValue = dr[“ID“].ToString();
drChildNode = dataSource.Select(“ParentID=‘“ + dr[“ID“].ToString() + “‘“);
if (drChildNode.Length > 0)
{
nodetitle = currentPrevStr + “|-“ + dr[“Name“].ToString();
}
else
{
nodetitle = currentPrevStr + “∟“ + dr[“Name“].ToString();
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 17903 2015-05-06 21:36 AllPower.BLLAllPower.BLL.csproj
....... 478 2015-05-06 21:36 AllPower.BLLAllPower.BLL.csproj.user
....... 79 2015-05-06 21:36 AllPower.BLLapp.config
....... 453120 2015-05-06 21:36 AllPower.BLLinDebugAllPower.BLL.dll
....... 79 2015-05-06 21:36 AllPower.BLLinDebugAllPower.BLL.dll.config
....... 1191424 2015-05-06 21:36 AllPower.BLLinDebugAllPower.BLL.pdb
....... 107520 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Common.dll
....... 314880 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Common.pdb
....... 26624 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Config.dll
....... 138752 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Config.pdb
....... 37376 2015-05-06 21:36 AllPower.BLLinDebugAllPower.IDAL.dll
....... 7680 2015-05-06 21:36 AllPower.BLLinDebugAllPower.IDAL.pdb
....... 205824 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Model.dll
....... 1302016 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Model.pdb
....... 370176 2015-05-06 21:36 AllPower.BLLinDebugAllPower.SQLServer.dll
....... 849408 2015-05-06 21:36 AllPower.BLLinDebugAllPower.SQLServer.pdb
....... 136192 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Template.dll
....... 372224 2015-05-06 21:36 AllPower.BLLinDebugAllPower.Template.pdb
....... 114688 2015-05-06 21:36 AllPower.BLLinDebugAspNetPager.dll
....... 36864 2015-05-06 21:36 AllPower.BLLinDebugInterop.ADOX.dll
....... 950272 2015-05-06 21:36 AllPower.BLLinDebugInterop.SQLDMO.dll
....... 453120 2015-05-06 21:36 AllPower.BLLinDebugKingTop.BLL.dll
....... 79 2015-05-06 21:36 AllPower.BLLinDebugKingTop.BLL.dll.config
....... 111616 2015-05-06 21:36 AllPower.BLLinDebugKingTop.Common.dll
....... 26624 2015-05-06 21:36 AllPower.BLLinDebugKingTop.Config.dll
....... 37376 2015-05-06 21:36 AllPower.BLLinDebugKingTop.IDAL.dll
....... 7680 2015-05-06 21:36 AllPower.BLLinDebugKingTop.IDAL.pdb
....... 205824 2015-05-06 21:36 AllPower.BLLinDebugKingTop.Model.dll
....... 370176 2015-05-06 21:36 AllPower.BLLinDebugKingTop.SQLServer.dll
....... 136192 2015-05-06 21:36 AllPower.BLLinDebugKingTop.Template.dll
............此处省略6741个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)