|
Странная ошибка (исключение) на sql запросы
|
|||
---|---|---|---|
#18+
Пишу windows приложение на C#. Пытаюсь установить связь с бд Access 2007. Но срабатывает только один sql запрос типа: Код: sql 1.
Если же я попытаюсь написать сгенерированный в Access запрос типа: Код: sql 1.
то выбрасывается исключение: System.InvalidOperationException: Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information. Вот полный код: Код: c# 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.
... |
|||
:
Нравится:
Не нравится:
|
|||
23.04.2013, 06:50 |
|
Странная ошибка (исключение) на sql запросы
|
|||
---|---|---|---|
#18+
CrypticSystem.InvalidOperationException: Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information. по-моему всё чётко написано ... |
|||
:
Нравится:
Не нравится:
|
|||
23.04.2013, 10:51 |
|
|
start [/forum/topic.php?fid=17&fpage=26&tid=1350043]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
44ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
46ms |
get tp. blocked users: |
2ms |
others: | 267ms |
total: | 406ms |
0 / 0 |