In order to create a unique field in the table of a database, you need to define a _____. |
A. trigger
B. view
C. primary key
D. host key
Which of the following statements sets the value of an insert parameter named FirstName for a data source named SqlDataSource1 to the value of the Text property of a control named txtFirstName?
|
A. SqlDataSource1.InsertParameters["FirstName"] = txtFirstName.Text;
B. SqlDataSource1=txtFirstName.Text;
C. Sql.InsertParameters["FirstName"].DefaultValue = txtFirstName.Text;
D. SqlDataSource1.InsertParameters["FirstName"].DefaultValue = txtFirstName.Text;
Which of the following objects is not needed in .NET to display data?
|
A. Connection
B. Business
C. Adapter
D. Dataset