|
|
|
Странная ошибка (исключение) на 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:32 |
|
||
|
Странная ошибка (исключение) на 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:35 |
|
||
|
|

start [/forum/topic.php?fid=17&msg=38235915&tid=1350043]: |
0ms |
get settings: |
5ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
254ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
36ms |
get tp. blocked users: |
2ms |
| others: | 197ms |
| total: | 517ms |

| 0 / 0 |
