|
Первый раз с DataGrid Control
|
|||
---|---|---|---|
#18+
На формочке поставил два контрола Microsoft ADO Data Control 6.0 (SP4) (OLEDB) Microsoft DataGrid Control 6.0(SP5) (OLEDB) Для ADO (Adodc1) указал Connection String для подсоединения MS SQL SERVER 2000. CursorLoacation - adUserClient CursorType - adOpenDinamic LockType- adLockOptimistic RecordSource - select cip, nom, nom_normal from z_produit where сount_normal=4 or count_normal=5 Для DataGrid AllowAddNew True AllowArrows True AllowDelete False AllowUpdate True DataSource Adodc1 Указал три нужные колонки в Property Type. В общем заработало. Показался список моих записей. Теперь мне нужно редактировать записи, колонку nom. Строка в Grid-е изменяется, но при переходе на другу запись возникае сообщение "Multiple-step operation generated errors. Check each status value." Запись не сохраняется. ... |
|||
:
Нравится:
Не нравится:
|
|||
31.03.2003, 11:03 |
|
|
start [/forum/topic.php?fid=60&fpage=417&tid=2171344]: |
0ms |
get settings: |
10ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
32ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
36ms |
get tp. blocked users: |
2ms |
others: | 283ms |
total: | 400ms |
0 / 0 |