Pass4sure Microsoft ts 70-502(VB) v2.93
- Monday, October 13, 2008, 23:07
- Cert Tests
- 108 views
- 3 comments
TS: MS.NET Frmewrk3.5, Wndws Presentation Fndation App Dev : 70-502(VB) Exam
Product DescriptionExam Number/Code: 70-502(VB)Exam Name: TS: MS.NET Frmewrk3.5, Wndws Presentation Fndation App Dev
“TS: MS.NET Frmewrk3.5, Wndws Presentation Fndation App Dev”, also known as 70-502(VB) exam, is a Microsoft certification. With the complete collection of questions and answers, Pass4sure has assembled to take you through 102 Q&As to your 70-502(VB) Exam preparation. In the 70-502(VB) exam resources, you will cover every field and category in TS helping to ready you for your successful Microsoft Certification.
QUESTION 1
Certkiller Ltd. receives product information from manufactures in the form of an XML documents.
The product information is stored in a Microsoft SQL Server database.
The format of each XML document varies. Each one is located in a MemoryStream object named
newProds.
You create a merge procedure that reads data and schema information in a DataSet object and
merges the information into your database. You now need to write code to transfer the XML
document and its schema into a DataSet object.
Which code segment should you use?
A. DataSet products = new DataSet(“prodInfo”);
XmlTextReader reader = new XmlTextReader(newProds);
XmlValidatingReader validReader = new XmlValidatingReader(reader);
while (validReader.Read()) {
products.WriteXml(validReader.Value);
Actualtests.org – The Power of Knowing
}
B. DataSet products = new DataSet(“prodInfo”);
products.ReadXml(newProds);
C. DataSet products = new DataSet(“prodInfo”);
XmlDataDocument document =
new XmlDataDocument(products);
document.DataSet.ReadXmlSchema(newProds);
D. DataSet products = new DataSet(“prodInfo”);
string myXmlData =
Encoding.UTF8.GetString(newProds.ToArrary());
SqlDataAdapter adapter =
new SqlDataAdapter(“LoadSchemaType=XML”,myXmlData);
adapter.Fill(products)
Answer: B
Explanation: The ReadXml method can be used to read an XML document that includes both schema and
data.
Note: If no in-line schema is specified (as in this scenario), the relational structure is extended through
inference, as necessary, according to the structure of the XML document.
Incorrect Answers
A: The WriteXml method writes XML data, and optionally the schema, from the DataSet. We want to
read data into the Dataset however.
C: The ReadXmlSchema method is used to just read the schema from an XML document, not the data.
D: We want to read the XML data and schema from a stream not from a SQL Server database. We
should not use a SQlDataAdapter.
Reference: .NET Framework Class Library, DataSet.ReadXml Method (Stream) [C#]
QUESTION 2
You are a software developer at Certkiller .com. You create a strongly typed DataSet object named
Certkiller DataSet. This object contains a single DataTable object named Certkiller .
Certkiller has a column named Certkiller ID that contains a unique identifier for each row in Certkiller .
You want to add a primary key to Certkiller .
Which code segment should you use?
A.
B.
C.
Actualtests.org – The Power of Knowing
D.
Answer: A
QUESTION 3
You are creating a serviced component named EmployeeLocations. This component will return a
current list of employees in a given city. The list of employee locations changes nightly.
EmployeeLocations must load an XML file named Emploc.xml nightly. EmployeeLocations contains
one method named EmployeeslnCity. EmployeeslnCity takes a string city code and returns an array
of Employee objects.
EmployeeLocations will use the XML data to return lists of employees for a city throughout each day.
EmployeeLocations must respond to EmployeeslnCity method calls as quickly as possible.
What should you do?
A. Each night, load Emploc.xml into a MemoryStream object.
For each request, use an XmlTextReader to locate the requested city and then the employees within
that city.
B. Each night, load Emploc.xml into an XPathDocument object.
For each request, use the XPathNavigator.
Select method to create an XPathNodelterator object.
Use the XPathNodelterator object to return the list of employees.
C. Each night, load Emploxml into an XmlDocument object.
For each request, use the XmlDocument.GetElementsByTagName method to create an XmlNodeList
object, which will contain the appropriate employee list.
D. Each night, load Emploc.xml into an XmlDataDocument object.
For each request, use the XmlDataDocument.GetElementsByTagName method to create an
XmlNodeList object, which will contain the appropriate employee list.
Answer: B
Pass4sure 70-502(VB)
Questions and Answers : 102 Q&As Expected Date: October 28th , 2008 Price: $125.99 $89.99 Pre-Buy price: $62.99 Save $27
Free download:pass4sure Microsoft 70-502(VB)
Free download:testking Microsoft 70-502(VB)
password:www.certbible.org
High quality IT Certification Training Exam Questions, Study Guides and Practice Tests are in Downloadable PassGuide Testing Engine,Successful for IT Certification or Full Refund for you.Contact Us:Sales@PassGuide.com|
Type |
Exam Bible | New Questions & Answers |
Latest Updated |
Download link |
| All Certbible 's Exam Dumps |
597 |
1 days ago | Available |
PassGuide Training Materials & Practice Tests
About the Author
3 Comments on “Pass4sure Microsoft ts 70-502(VB) v2.93”
Trackbacks
- Testking Microsoft TS 70-502(VB) | Free Latest TK Certification Exams Rapidshare Vce Dumps
- Actualtests microsoft TS 70-502(VB) | Free latest Actualtest Testking Certification Exams training braindumps
- Testinside Microsoft TS 70-502(VB) | Free Latest Microsoft Certification Training Exams rapidshare vce Braindumps
Write a Comment
Gravatars are small images that can show your personality. You can get your gravatar for free today!

