【问题标题】:How to get data from SQL Server to DevExpress FileManager without EntityDataSource如何在没有 EntityDataSource 的情况下从 SQL Server 获取数据到 DevExpress FileManager
【发布时间】:2016-04-16 10:10:37
【问题描述】:

我使用 DevExpress FileManager。我想从数据库中检索数据到FileManager,所有在数据库中修改的操作都应该不使用EntityDataSource

【问题讨论】:

    标签: sql-server devexpress file-manager


    【解决方案1】:

    改用 SQL 数据源:

    ASPxFilemanager:

    <dx:ASPxFileManager ID="ASPxFileManager1" runat="server" DataSourceID="SqlDataSource1">
        ...
    </dx:ASPxFileManager>
    

    SQL数据源:

    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString=""
    SelectCommand="" 
    DeleteCommand=""
    InsertCommand=""
    UpdateCommand="">
    </asp:SqlDataSource>
    

    这里有一个例子:ASPxFileManager

    【讨论】:

    • 谢谢你
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-11-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多