473,399 Members | 2,159 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,399 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 1086

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...

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.