【问题标题】:Insert new record in EntityDataSource在 EntityDataSource 中插入新记录
【发布时间】:2009-05-12 13:29:53
【问题描述】:

如何在 EntityDataSource 中插入新记录(来自 gridview)

非常感谢。

【问题讨论】:

    标签: asp.net entity-framework


    【解决方案1】:

    我现在遇到了同样的问题,我发现了这个: How to fire up insert event

    不是我所希望的,但它似乎正在工作。

    【讨论】:

      【解决方案2】:

      如果您不想添加自己的插入功能,使用 ListView 而不是 GridView 会更容易。

      http://social.msdn.microsoft.com/Forums/en/adodotnetentityframework/thread/a06bc929-08b6-44fd-87be-80075a9a7137

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2015-02-02
        • 2012-05-11
        • 2019-06-23
        • 2021-12-21
        • 1970-01-01
        • 2013-02-06
        • 2015-12-17
        • 1970-01-01
        相关资源
        最近更新 更多