|
|
|
MySQL проблема
|
|||
|---|---|---|---|
|
#18+
1. Попробовал с odbcDataAdapter создать простую форму на одну таблицу. Создался только Select и Insert запросы, на остальных ошибка. Дальше - с OLE никто мне не мешал загрузить подчиненную таблицу отдельно - а с ODBC кидает: An unhandled exception of type 'System.Data.ConstraintException' occurred in system.data.dll Additional information: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. 2. Попробовал с MySQL Connector Net 1.0.4 - проинсталировал, доавил на панель и увидел Exception при попытке задать connection_string (см. картинку). Потом еще открыл MySQL Connector Net 1.0.4\samples\Table Editor и там все ОК до тех пор пока не встречается дата 00.00.0000 - и тут опять бритва - с конвертацией дат: An unhandled exception of type 'MySql.Data.Types.MySqlConversionException' occurred in system.data.dll Additional information: Unable to convert MySQL date/time value to System.DateTime ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.06.2005, 17:17 |
|
||
|
|

start [/forum/topic.php?fid=17&fpage=117&tid=1353668]: |
0ms |
get settings: |
8ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
29ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
31ms |
get tp. blocked users: |
1ms |
| others: | 191ms |
| total: | 291ms |

| 0 / 0 |
