|
|
|
Странная ошибка (исключение) на 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: |
6ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
153ms |
get topic data: |
9ms |
get first new msg: |
5ms |
get forum data: |
2ms |
get page messages: |
46ms |
get tp. blocked users: |
1ms |
| others: | 226ms |
| total: | 462ms |

| 0 / 0 |
