|
Странная ошибка (исключение) на 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&gotonew=1&tid=1350043]: |
0ms |
get settings: |
8ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
60ms |
get topic data: |
9ms |
get first new msg: |
7ms |
get forum data: |
3ms |
get page messages: |
34ms |
get tp. blocked users: |
1ms |
others: | 13ms |
total: | 153ms |
0 / 0 |