You need to retrieve data from a Microsoft SQL Server 2000.
Currently you are using an oleDbConnection object to connect
to the database server. You need to be able to retrieve the
data from the database server in XML format. Which approach
would be the most efficient? Select all that apply. Each
answer constitutes part of the whole answer.

a) Change to the SQL .NET provider.
b) Use the ExecuteXmlReader() method of the xxxCommand object
c) Use the DOM to create the XML document.
d) Use the XmlDocument.Load() method to create the XML Document.



You need to retrieve data from a Microsoft SQL Server 2000. Currently you are using an oleDbConnect..

Answer / g.b.prabhakaran

c

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More ASP.NET Interview Questions

What is the purpose of the validation summary control? What do you need to do to prevent an error message from being displayed in a validator when a validation summary control is used? How can you display a message in both the validator and the validation summary control?

2 Answers  


Describe the sequence of action takes place on the server when ASP.NET application starts first time?

0 Answers   CDC,


Should I delete cookies?

0 Answers  


How many modelpopup extender we frequire when we want more than one model popup on same page ?

3 Answers   TCS,


How do you implement postback with a text box?

0 Answers  






hi i have a problem regarding to datagrid in aspdotnet.i have a datagrid in my application.i have to place add,edit,delete buttons or links what ever it may be. now the problem is if i click on add button then the page has to redirected to another form called "xyz.aspx" and if i click on edit button the page has to redirected to another form called "abc.aspx".i am phasing the problem that if where ever i click on the datagrid the cursor goes to gv1_SelectedIndexChanged event.please tell me the solution about the code.

4 Answers   Lambent,


What is difference between session and viewstate?

0 Answers  


What is custom tag in web.config ?

2 Answers   Accenture, BirlaSoft,


What Are Different Types of Debbugers

2 Answers   Accenture, TCS, Wipro,


What is runtime host ?

3 Answers   Digital GlobalSoft,


What does ascx stand for?

0 Answers  


To make Cache item dependent on a file,directory or other cached item ,you should create an instance of which clause?

1 Answers  


Categories