Window Form With C# For Aptech Accp 2007

282 Questions | Total Attempts: 531

SettingsSettingsSettings
Please wait...
Windows Quizzes & Trivia

Forms are the base unit of Windows applications, so they are essential to know about. They are enhanced with controls to create user interfaces and to manipulate data. How much do you know about Windows form with regards to C#?


Questions and Answers
  • 1. 
    The DataAdapter is used to link the DataSet to the data source.
    • A. 

      True

    • B. 

      False

  • 2. 
    The SqlDataAdapter is used to edit data in the sql server database and update DataSet.
    • A. 

      True

    • B. 

      False

  • 3. 
    The OleDbDataAdapter class is used to connect to multiple databases such as SQL, Oracle and MS Access.
    • A. 

      True

    • B. 

      False

  • 4. 
    The AccepChangesDuringFill property indicates how  the DataReader object is used to fill the DataSet.
    • A. 

      True

    • B. 

      False

  • 5. 
    The Fill() method uses the DataSet name to add or refresh rows in the DataSet to match with those in the data source.
    • A. 

      True

    • B. 

      Fasle

  • 6. 
    Links a DataSet to the MS Access database for retrieving and saving data.
    • A. 

      OleDbDataAdapter

    • B. 

      SqlDataAdapter

  • 7. 
    Links a DataSet to the SQL database for retrieving and saving data.
    • A. 

      OleDbDataAdapter

    • B. 

      SqlDataAdapter

  • 8. 
    Store the SQL query results in DataTable object.
    • A. 

      SqlDataAdapter

    • B. 

      OledbDataAdapter

  • 9. 
    Connect to multiple databases such as Sybase and Oracle.
    • A. 

      OledbDataAdapter

    • B. 

      SqlDataAdapter

  • 10. 
    The typed DataSet is inherited from the DataSet class.
    • A. 

      True

    • B. 

      False

  • 11. 
    The ReadXml()  method is used to update the xml file.
    • A. 

      True

    • B. 

      Fasle

  • 12. 
    The MoveNext() method  of the BindingSource clas is used to navigate to a record in the DataSet.
    • A. 

      True

    • B. 

      Fasle

  • 13. 
    The type DataSet is used to catch any wrong values fetched from a table.
    • A. 

      True

    • B. 

      Fasle

  • 14. 
    The untype dataset is used on data that does not have static or predicable structure.
    • A. 

      True

    • B. 

      False

  • 15. 
    This property specifies or retrieve the locale information used to compare strings in the table.
    • A. 

      Readxml

    • B. 

      Clear

    • C. 

      GetType

    • D. 

      Locale

    • E. 

      DataSetName

  • 16. 
    This property specifies or retrieves the DataSet name.
    • A. 

      Readxml

    • B. 

      Clear

    • C. 

      Locale

    • D. 

      GetType

    • E. 

      DataSetName

  • 17. 
    This method removes rows in all tables.
    • A. 

      DataSetName

    • B. 

      Clear

    • C. 

      GetType

    • D. 

      Locale

    • E. 

      Readxml

  • 18. 
    This method retrieves the type of the current instance.
    • A. 

      Readxml

    • B. 

      Locale

    • C. 

      GetType

    • D. 

      Clear

    • E. 

      DataSetName

  • 19. 
    This method retrieves xml schema and data into the DataSet.
    • A. 

      Locale

    • B. 

      DataSetName

    • C. 

      ReadXml

    • D. 

      Clear

    • E. 

      GetType

  • 20. 
    The DataTable object is used to as a case- sensitive object  if the casing of two tables with the same name differs.
    • A. 

      True

    • B. 

      False

  • 21. 
    The DataRow and DataColumn classes are you as a primary components of the DataTable class.
    • A. 

      True

    • B. 

      False

  • 22. 
    The DataRelation objects are used to enter duplicate values in a column of the table.
    • A. 

      True

    • B. 

      False

  • 23. 
    The DataRelation objects are used to enforce referential integrity.
    • A. 

      True

    • B. 

      Fasle

  • 24. 
    The DataTableReader object is used to return the records of a table in editable mode.
    • A. 

      True

    • B. 

      False

  • 25. 
    This property specifies or retrieves the table name.
    • A. 

      RowDelete

    • B. 

      TableNewRow

    • C. 

      Clear()

    • D. 

      TableName

    • E. 

      DataSet