PC Review


Reply
Thread Tools Rate Thread

2 simple questions about ado/xml

 
 
suzy
Guest
Posts: n/a
 
      27th Oct 2003
hi...

1. what is the quickest/most efficient way to get read-only records from an
access table into an xml string? i have the following which works fine. is
this the most efficient way?

OleDbDataAdapter da = new OleDbDataAdapter(cmd);

DataSet ds = new DataSet("Records");

da.Fill (ds, "Record");

return ds.GetXml();


2. after i add/update/delete access record(s) i want the information of the
record(s) in xml. how can i do this?


thanks a lot.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple questions for simple 2 PC file sharing network. Simple? raylopez99 Microsoft Windows 2000 Networking 3 11th Feb 2007 01:31 PM
Questions should be simple please help =?Utf-8?B?YmFiaWlnaXJs?= Microsoft Excel Worksheet Functions 3 14th Jun 2006 07:24 PM
Simple Questions cgi_pro Microsoft Excel Discussion 2 12th Feb 2006 08:28 PM
Probably simple questions Maggy Windows XP General 2 2nd Jul 2004 08:49 AM
2 simple questions =?Utf-8?B?T3Jlbg==?= Microsoft ASP .NET 0 8th Apr 2004 12:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:12 PM.