首页 \ 问答 \ 我可以从表中检索XML中的SSIS配置值吗?(Can I retrieve config values for SSIS from XML in a table?)

我可以从表中检索XML中的SSIS配置值吗?(Can I retrieve config values for SSIS from XML in a table?)

我当前的客户端将其企业应用程序的所有配置信息存储在包含XML的单个表中。 然后他们使用定制的前端来维护配置值。

我正在为他们使用SSIS编写一个相当直接的导入过程。 我需要使连接字符串和其他一些信息可配置,他们希望我使用他们的表。 看起来像SSIS期待一个文件。 有没有什么办法可以让SSIS从XML流中检索配置值,而不是文件的路径?

他们使用的配置表与使用标准向导将SQL Server用作配置源的标准SSIS配置表的结构不匹配。

感谢您的任何建议!


My current client stores all of their configuration information for the enterprise applications in a single table that holds XML. They then use a custom built front end to maintain the configuration values.

I'm writing a fairly straight-forward import process for them using SSIS. I need to make the connection strings and some other information configurable and they want me to use their table. It seems like SSIS expects a file though. Is there any way that I can point SSIS to retrieve its configuration values from an XML stream instead of a path to a file?

The configuration table that they use does not match the structure of a standard SSIS configuration table that you would get using SQL Server as a configuration source with the standard wizard.

Thanks for any advice!


原文:https://stackoverflow.com/questions/1595129
更新时间:2023-12-30 11:12

最满意答案

问题在于你的样式v-21文件

<resources>
<style name="AppTheme.NoActionBar">
    <item name="windowActionBar">false</item>
    <item name="windowNoTitle">true</item>
    <item name="android:windowDrawsSystemBarBackgrounds">true</item>
    <item name="android:statusBarColor">@android:color/transparent</item>
</style>
</resources>

改变这一行

<item name="android:statusBarColor">@android:color/transparent</item>

将'@android:color / transparent'更改为其他颜色


The problem is in your styles v-21 file

<resources>
<style name="AppTheme.NoActionBar">
    <item name="windowActionBar">false</item>
    <item name="windowNoTitle">true</item>
    <item name="android:windowDrawsSystemBarBackgrounds">true</item>
    <item name="android:statusBarColor">@android:color/transparent</item>
</style>
</resources>

Change this line

<item name="android:statusBarColor">@android:color/transparent</item>

change '@android:color/transparent' to some other color

相关问答

更多
  • 你可以尝试输入findViewById吗? 它应该从小写字母f开始。 Can you try to type as findViewById? It should start from small letter f.
  • 这是由于在我的代码https://github.com/roughike/BottomBar中使用BottomBar插件而引发的问题在文档中直接解决了这个问题 为什么我的内容顶部有太多空白空间?! 可能是因为你正在做一些下一级高级Android的东西(例如使用CoordinatorLayout和fitsSystemWindows =“true”)并且内容的正常填充太多了。 调用attach()后立即添加: mBottomBar.noTopOffset(); This is raised due to usa ...
  • 您可以将ActionBar高度作为int: int actionBarHeight = 0; TypedValue tv = new TypedValue(); if (getTheme().resolveAttribute(android.R.attr.actionBarSize, tv, true)) { actionBarHeight = TypedValue.complexToDimensionPixelSize(tv.data, getResources().getDisplayMetr ...
  • 问题在于你的样式v-21文件