|
Странная ошибка (исключение) на 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&msg=38236151&tid=1350043]: |
0ms |
get settings: |
7ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
29ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
48ms |
get tp. blocked users: |
2ms |
others: | 11ms |
total: | 128ms |
0 / 0 |