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

by any chance...

ari
hey all,

does the dataset have an internal array that can be passed to:

SqlDataAdapter.Update(array)?

If not, will i need a custom collection to take advantage of being able to
pass a light object like an array as opposed to a dataset?

thanks,
ari
Nov 21 '05 #1
3 911
Ari,

What do you mean with light object?

In other words what advantage you supect that you get by not using a dataset
or a datatable?

Cor
Nov 21 '05 #2
"ari" <ar*@discussions.microsoft.com> schrieb:
does the dataset have an internal array that can be passed to:

SqlDataAdapter.Update(array)?

If not, will i need a custom collection to take advantage of being able to
pass a light object like an array as opposed to a dataset?


No. You can pass the data in a datatable or dataset directly:

..NET Framework Class Library -- 'DbDataAdapter.Update' Method
<URL:http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatacommondbdataadapterclassupdatetopic .asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
ari
for some reason i thought you could pass an array object to
sqldataadapter.update. oh well, thanks for the help everyone.

"Cor Ligthert [MVP]" wrote:
Ari,

What do you mean with light object?

In other words what advantage you supect that you get by not using a dataset
or a datatable?

Cor

Nov 21 '05 #4

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

Similar topics

0
by: cal | last post by:
This is your last chance to participate in VDC's survey on embedded databases. Since you have helped us in the past with our research, I was hoping you could take just 5 minutes out of your busy...
1
by: MKJ | last post by:
Oleg Starodumov wrote: > *You can download Debugging Tools for Windows and install them: > http://www.microsoft.com/whdc/ddk/debugging/default.mspx > > Then run the following command at the...
1
by: George Ter-Saakov | last post by:
Hi. In my opinion the emails like "Have you had a chance to check out the suggestions in my last reply..." kind of pollute this newsgroup. It's like one day they would show up in hundreds and...
8
by: Chu | last post by:
I'm developing a game - in the game, the character has a 1 in 1000 chance of finding a special weapon. The pseudo code idea is this: get a random number from 1 to 1000 If random number is "1"...
2
by: Adam Hartshorne | last post by:
Hi All, I have the following problem. I have just installed visual studio 2003 (v7.1) on a new laptop. I also have the same version installed in a desktop pc. As a test, i tried compiling some...
2
by: Abubakar | last post by:
Hi all, I'm writing an app in vc++ 2k5 (all native/unmanaged). This application does a lot of multithreading and socket programming. Its been months since I'm developing this application, at...
7
by: illegal.prime | last post by:
Hi all, I've got a client/server application and just wanted to ensure that this is expected behavior. I recently set the following configuration in Visual Studio: Debug->Exceptions->Break Into...
3
by: GS | last post by:
why am i getting A first chance exception of type 'System.NullReferenceException' occurred in myapp.exe below? and what can i do get rid of it? Private Function getPrefxType() As String If...
4
by: =?Utf-8?B?RGVubmlz?= | last post by:
Is there any way to find out what is causing a "First Chance Exception"? Also, is there anyway to turn them off....I'm getting hundreds but all seems to run OK. I"m using VB 2008 Express Edition....
6
by: zubair1 | last post by:
Hi, Today, i added some new code which was to see if a file is locked or not (in use by another application). While i did that it was showing me some errors like in the Output window:- A first...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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,...

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.