FEDT VB - Net Unit-4 Assignment
FEDT VB - Net Unit-4 Assignment
FEDT VB - Net Unit-4 Assignment
1.
Programme:
2. Date of BCA Semester:of classes:
commencement III 23rd Paper
July’ Code:
2007 205 Academic Year: 2014-
Q1.Write a program in VB.NET to connect to a database and add record in table named
STUDENT, taking details from the user
Q2. Write a program to connect to a database and display the records in a Data grid control.
Multiple Choice Questions
1. Where is a single element of data stored?
a.) Field
b.) Record
c.) Table
a.) Field
b.) Record
c.) Table
3. Which clause is required in an SQL query for getting information from a database?
a.) JOIN
b.) ON
c.) ORDER BY
d.) SELECT
e.) WHERE
a.) Access
b.) Microsoft SQL Server
c.) MySQL
d.) Oracle
a.) Location
b.) Type
c.) Query
a.) Advanced
b.) All
c.) Adapter
d.) Connection
e.) Provider
a.) OleDbDataAdapter
b.) SQLDataAdapter
c.) QueryDataAdapter
10. Which object contains the Position property of the current record in a dataset?
a.) BindingContext
b.) BindingData
c.) DataBinding
d.) DataBound
a.) DataMember
b.) DataSource
c.) DataQuery
a.) zero.
b.) one.
14. What is the proper code to put data into the dataset called CustomerDataset using the
CustomerDataAdapter object?
a.) CustomerDataset.Fill(CustomerDataAdapter)
b.) CustomerDataAdapter.Fill(CustomerDataset)
c.) CustomerDataset.Load(CustomerDataAdapter)
d.) CustomerDataAdapter.Load(CustomerDataset)