473,395 Members | 1,968 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,395 software developers and data experts.

Scelta migliore

Vorrei capire se e quando, con un DataGrid ed un DataSet, č meglio
utilizzare il DataAdapter e quando i comandi diretti
myCommand.ExecuteNonQuery();
Ho capito che il DataAdapter consente di effettuare operazioni direttametne
sul DataSet e sul DataGrid, e di aggiornare la Tabelle del DataBase solo
quando necessario (utilizzando appunto il DataAdapter.Update(DataSet);)

Mentre il command viene eseguito immediatamente con il comando Execute e
successivamente devono essere ricaricati i dati nel DataGrid per
visualizzare le modifiche applicate alla Tabella del DataBase
Ogni singola soluzione in che situazione viene applicata?
Nov 18 '05 #1
0 1085

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

Similar topics

0
by: | last post by:
Vorrei capire se e quando, con un DataGrid ed un DataSet, č meglio utilizzare il DataAdapter e quando i comandi diretti myCommand.ExecuteNonQuery(); Ho capito che il DataAdapter consente di...
0
by: | last post by:
Vorrei capire se e quando, con un DataGrid ed un DataSet, č meglio utilizzare il DataAdapter e quando i comandi diretti myCommand.ExecuteNonQuery(); Ho capito che il DataAdapter consente di...
6
by: TC | last post by:
Hi. I write a program in c language that read a text file and extrapolate the word. for all word the program calculate the number of the times that word is present in the text. The problem is the...
3
by: TC | last post by:
I'm not a C programmer. This is a good C? how check the return value of getch or scanf? and how check for the \n at the end of the text read? FEOF do not return true if the file (text file) is...
2
by: lorologiodoro | last post by:
Ciao a tutti, sto sviluppando una jsp che mostra all'utente una serie di celle sulle quali ad ogni evento onclick() eseguo la routine SelezionaSpazio passando gli id sia della cella che dei...
2
by: Matteo Migliore | last post by:
Hi! I'm looking for an Atlas sample to use MSN Messenger on a ASP.NET application. The major problem is how to catch asynchronously answers from user. I hope to be clear :-) Thx!
4
by: Matteo Migliore | last post by:
Hi. I've a problem with parent-child circular references. Suppose have two classes, Person and Course: -------------------------- public class Person{ public Person(string name, Course...
4
by: Matteo Migliore | last post by:
Hi. I need a regular expression to extract all tag A from HTML code. I need the href and text as two disting objects. Suggestions? Thx! ;-) Matteo Migliore.
6
by: Matteo Migliore | last post by:
Hi. I'm looking for a WinForms code translator from C# to VB.NET and vice-versa. Not a website service :-). Something like this, but standalone version:...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.