473,396 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Dataset Update che funziona in modo strano

Ciao ho una piccola anomalia, in un dataset. Ho una form di dettaglio
collegata con delle textbox a un database sqlserver tramite dataadapter,
dopo aver generato il dataset e le stringhe sql per aggiornamenti e
selezioni, mi si presenta il prblema. Tramite metodo fill riempio il
database, e poi aggiorno tramite il metodo update soltanto che il database
viene aggiornato solo se mi sposto al record successivo a quel punto riesco
ad aggiornare il database. Mi sposto tramite bindingmanager, č normale che
si comporti cosė. Insomma modifico e se salvo nulla, se mi sposto al record
successivo e salvo mi salva il record precedente. Come mai?
DaAccessori.update("DsAccessori,"T_Accessori"")

e si comporta come vi ho detto mah.

Grazie Ciao.
Nov 19 '05 #1
1 1905
Hello,

"Webmaster of Moon" <we*******@moonway.it> schrieb:
Ciao ho una piccola anomalia, in un dataset. Ho una form
di dettaglio collegata con delle textbox a un database sqlserver
tramite dataadapter,


It doesn't make sense to post Italian text to english language ngs.
microsoft.public.it.dotnet.vb would have been the best choice for your
question.

Regards,
Herfried K. Wagner
--
MVP ˇ VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Babu Mannaravalappil | last post by:
Can somebody please help me figure out why the following method exceptions out? Execution at the line marked with ********** hangs for about 15 seconds and then I get an error that says an...
2
by: Mojtaba Faridzad | last post by:
Hi, Please check these lines: DataSet dataSet = new DataSet(); dataAdapter.Fill(dataSet, "mytable"); DataRow row; row = dataSet.Tables.Rows; row.BeginEdit(); row = "555";
0
by: Jaime Sandoval | last post by:
Tengo un problema: Tengo una linea en html como esta: <DIV id="divTitulo" style="Z-INDEX: 102; TOP:0px;LEFT: <%= o_prop.i_viewleft + 10%>px; WIDTH: <%= o_prop.i_viewwidth + 88%>px; HEIGHT: <%=...
15
by: JIM.H. | last post by:
Hello, Can I send a dataset as a parameter into stored procedure and import data to a table in the stored procedure? Thanks, Jim.
4
by: jay | last post by:
I am using the dataset object to add a row to a sql server database in vb.net code, as follows: dim drow as DataRow dim cmdBld as new SqlCommandBuilder(mySqlDataAdapter) ds.tables(0).NewRow()...
9
by: jaYPee | last post by:
I have search a lot of thread in google newsgroup and read a lot of articles but still i don't know how to update the dataset that has 3 tables. my 3 tables looks like the 3 tables from...
12
by: Graham Blandford | last post by:
Hi all, Would someone be able to tell me the most 'graceful' way of removing unwanted rows from a dataset based on a condition prior to update? OR, resetting the rows all to unchanged after they...
17
by: A_PK | last post by:
I have problem databinding the DataGrid with DataView/DataSet after the filter... I create the following proceudre in order for user to filter as many as they want, but the following code is only...
5
by: fulmail | last post by:
Salve, ho un problema con questo codice ho creato un file html che dovrebbe aprire un altro file nella stessa cartella. Il codice utilizzato č: <form name="Mform"> <input type="Button"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.