Keith Devens .com |
Saturday, August 30, 2008 | ![]() |
| The great dividing line between success and failure can be expressed in five words: "I did not have time." – WestHost weekly newsletter 14 Feb 2003 | ||
|
| ← Dynamic Code Compilation in C# | ConnectionStrings.com → |

24.185.80.219 wrote:
steve wrote:
clear and sharp. It would save a lot time me, if I have found that earlie, when tried explain myself misteries with tableadapters 
Arnaud Weil (http://www.aweil.fr) wrote:
Now, the problem is that TableAdapters and DataAdapters do the same. Why didn't Microsoft use the DataAdapter class when the code is generated by Visual Studio?
I'm now having a headache making a tool that would use generated TableAdapters, since they do not inherit any class nor implement any interface...
rg wrote:
Hi can you use datasets to save the data back to the external database like access/sql without using a stored proc or a command? Like exporting to XML or any other way.
I've inserted data to the dataset (some in diffrent tables in the dataset) and there's +- 150 columns in each table.
At the end i want to save all the newly added or updated data back to the data base.
Building a command for that is a long and painfull method.
(the command builder is not really working the way i want it to work) :-(
Is there a way to do this?
TIA
Sergio wrote:
Hi
If I use VS2005 I have wizards, so why not use them?? I will be glad to use table adapters beacuse they are really easy to use and build. I guess the untyped datasets are death
Take a look to this problem, I have a lot of typed datasets buid on vs2003 and sqlDataAdapters too, I can still working like before creating components and dragin on them dataadapeters and creating dataset in the old fashion way. The question is tableAdapters are faster? At the execution spedd ? or the performance is just like the old SqlDataAdapter?,
Resume: What to use? sqlDatAdapters or tableAdapters ? which one is faster at execution time?
Bye
nige wrote:
thanks so much for this. Info like this saves me soo much needless mucking around.
cheers.
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):
Generated in about 0.221s.
(Used 8 db queries)

Great explanation. Thanks a lot.