• 大小: 1.09MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-03
  • 语言: 其他
  • 标签: U9  数据字典  

资源简介

U9 数据字典 Classview,最全数据字典 。

资源截图

代码片段和文件信息

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using U9.Subsidiary.Lib;
using System.Collections.Generic;

public partial class DataConfig : RootPage
{
    protected void Page_Load(object sender EventArgs e)
    {
        if (!IsPostBack)
        {
            LoadData();
        }
    }

    private void LoadData()
    {
        ConnectionModel model = null;
        if (Session[“Connection“] != null)
        {
            model = (ConnectionModel)Session[“Connection“];
        }
        else
        {
            model = (ConnectionModel)Application[“Connection“];
        }
        txtUserID.Text = model.UserID;
        txtPassWord.Text = model.Password;
        if (ddlDatabase.Items.Count < 1)
        {
            ddlDatabase.Items.Add(new ListItem(model.Database model.Database));
        }
        txtServerName.Text = model.Server;
    }
    
    private void LoadDatabases()
    {
        ConnectionModel model = new ConnectionModel();
        model.UserID = txtUserID.Text;
        model.Server = txtServerName.Text;
        model.Password = txtPassWord.Text;
        List DBList = new List();
        try
        {
            DBList = DBFunction.GetDatabases(model.ToString());
        }
        catch (Exception ex) { lbInfo.Text = ex.ToString(); }
        ddlDatabase.Items.Clear();
        foreach (string s in DBList)
        {
            ddlDatabase.Items.Add(new ListItem(s s));
        }
    }
    protected void btnQueryDatabase_Click(object sender EventArgs e)
    {
        LoadDatabases();
    }
    protected void btnConfig_Click(object sender EventArgs e)
    {
        ConnectionModel model = new ConnectionModel();
        model.Database = ddlDatabase.SelectedValue;
        model.Password = txtPassWord.Text;
        model.Server = txtServerName.Text;
        model.UserID = txtUserID.Text;
        try
        {
            if (DBFunction.IsU9Database(model.ToString()))
            {
                xmlHelper xmlhelper = new xmlHelper(System.IO.Path.Combine(System.AppDomain.CurrentDomain.baseDirectory @“.\Bin\environment.xml“));
                try
                {
                    xmlhelper.UpdatexmlNode(“/environment/system/connectionString“ model.ToString());
                    Application[“Connection“] = model;
                }
                catch { }

                Session[“Connection“] = model;
                Response.Redirect(“~/Default.aspx“);
                
            }
            else
            {
                lbInfo.Text = “不是U9数据库或连接失败“;
            }
        }
        catch (Exception ex) { lbInfo.Text = “不是U9数据库或连接失败:Exception“ + ex.ToString(); }
    }
}

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

     文件        335  2009-03-09 20:45  ClassView\App_Themes\Default\Images\dot1.jpg

     文件        334  2009-03-09 20:45  ClassView\App_Themes\Default\Images\dot2.jpg

     文件        834  2009-03-17 20:36  ClassView\App_Themes\Default\SkinFile.skin

     文件       2170  2009-03-18 13:39  ClassView\App_Themes\Default\styleSheet.css

     文件       4608  2010-02-02 20:53  ClassView\Bin\en-US\UFIDA.U9.BS.Job.ServiceEngine.resources.dll

     文件       4608  2010-02-02 20:53  ClassView\Bin\en-US\UFIDA.U9.Security.BPServiceImp.resources.dll

     文件       3584  2010-02-02 20:53  ClassView\Bin\en-US\UFSoft.UBF.Aopframe.resources.dll

     文件       4096  2010-02-02 20:53  ClassView\Bin\en-US\UFSoft.UBF.Business.resources.dll

     文件       5632  2010-02-02 20:53  ClassView\Bin\en-US\UFSoft.UBF.PL.resources.dll

     文件       6144  2010-02-02 20:53  ClassView\Bin\en-US\UFSoft.UBF.UI.Portal.Impl.resources.dll

     文件       5120  2010-02-02 20:53  ClassView\Bin\en-US\UFSoft.UBF.UI.Portal.resources.dll

     文件       5632  2010-02-02 20:53  ClassView\Bin\en-US\UFSoft.UBF.UI.Portal.WebControls.resources.dll

     文件       5120  2010-02-02 20:53  ClassView\Bin\en-US\UFSoft.UBF.UI.WebControls.baseComponent.resources.dll

     文件       5120  2010-02-02 20:53  ClassView\Bin\en-US\UFSoft.UBF.UI.WebControls.Globalization.resources.dll

     文件       3584  2010-02-02 20:53  ClassView\Bin\en-US\UFSoft.UBF.Util.Globalization.resources.dll

     文件       2422  2013-08-14 12:59  ClassView\Bin\environment.xml

     文件     270336  2009-11-27 18:22  ClassView\Bin\log4net.dll

     文件     731084  2009-11-27 18:22  ClassView\Bin\log4net.xml

     文件      49152  2009-11-27 18:22  ClassView\Bin\Tools.dll

     文件      32768  2009-03-27 14:30  ClassView\Bin\U9.Subsidiary.Lib.dll

     文件     262144  2010-02-02 20:53  ClassView\Bin\UBF.System.dll

     文件     150033  2009-11-27 18:22  ClassView\Bin\UBF.System.xml

     文件      32768  2010-02-02 20:53  ClassView\Bin\UBFEngineHosting.dll

     文件       5995  2009-11-27 18:22  ClassView\Bin\UBFEngineHosting.xml

     文件      86016  2010-02-02 20:53  ClassView\Bin\UFSoft.UBF.Aopframe.dll

     文件      33709  2009-11-27 18:22  ClassView\Bin\UFSoft.UBF.Aopframe.xml

     文件      53248  2010-02-02 20:53  ClassView\Bin\UFSoft.UBF.Business.Adapter.dll

     文件         73  2009-11-27 18:22  ClassView\Bin\UFSoft.UBF.Business.Adapter.dll.config

     文件       8368  2009-11-27 18:22  ClassView\Bin\UFSoft.UBF.Business.Adapter.xml

     文件     126976  2010-02-02 20:53  ClassView\Bin\UFSoft.UBF.Business.dll

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

评论

共有 条评论