|
VB 2010 добавление данных в таблицу через DataSet
|
|||
---|---|---|---|
#18+
Добрый день! Не получается добавить данные в таблицу accsess, они там не появляются., подскажите где туплю. Спасибо. Private Sub addvop() Dim nr As TestirovanieDataSet.D_base1Row nr = TestirovanieDataSet.D_base1.NewD_base1Row() nr("Data") = "12.12.2012" nr("Fil") = "Magaz" nr("FIOI") = "Familiya" nr("Dol") = "зав отделов" nr("vop_nom_test") = 1 nr("vop_nom_global") = 222 nr("otvev") = 1 TestirovanieDataSet.D_base1.Rows.Add(nr) End Sub ... |
|||
:
Нравится:
Не нравится:
|
|||
18.01.2011, 12:41 |
|
VB 2010 добавление данных в таблицу через DataSet
|
|||
---|---|---|---|
#18+
deather01, Вам уже в предыдущем вашем топике давали ссылку на форум по VB.NET. Прислушайтесь. ... |
|||
:
Нравится:
Не нравится:
|
|||
18.01.2011, 12:51 |
|
VB 2010 добавление данных в таблицу через DataSet
|
|||
---|---|---|---|
#18+
7. To update the original database with all of these changes, pass the DataSet into the Update method of the DataAdapter object. However, before you can call Update, you must set the InsertCommand, UpdateCommand, and DeleteCommand properties of the DataAdapter object. You can manually write SQL and populate these three properties with corresponding SqlCommand objects, but you can also use Visual Studio .NET to generate these three commands automatically. msdn ... |
|||
:
Нравится:
Не нравится:
|
|||
18.01.2011, 12:55 |
|
|
start [/forum/topic.php?fid=60&msg=37064293&tid=2159061]: |
0ms |
get settings: |
10ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
25ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
35ms |
get tp. blocked users: |
1ms |
others: | 11ms |
total: | 110ms |
0 / 0 |