【问题标题】:Listbox in mvc with data from excelmvc中的列表框与来自excel的数据
【发布时间】:2016-03-13 00:58:17
【问题描述】:

我想用 excel 中的数据创建一个列表框,但我不知道怎么做。在这个例子中应该看起来像https://demos.devexpress.com/MVCxDataEditorsDemos/Editors/ListBox

当我复制此代码时,模型中出现错误消息:

public static ListEditSelectionMode SelectionMode { get; set; }

找不到命名空间名称。

我该怎么办?请帮忙:)

【问题讨论】:

    标签: model-view-controller listbox


    【解决方案1】:

    你没有在上面的命名空间中添加,除非你把它排除在你的问题之外。但在一个例子中你会有

    namespace My.NameSpace.Here {
       public static ListEditSelectionMode SelectionMode { get; set; }
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-12-12
      • 1970-01-01
      • 2013-02-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-12-27
      相关资源
      最近更新 更多