ADO.NET interview questions
13. Name the two properties of the GridView control that have to be specified to turn on sorting and paging. […]
13. Name the two properties of the GridView control that have to be specified to turn on sorting and paging. […]
7. Explain the DataAdapter.Update() and DataSet.AcceptChanges() methods. The DataAdapter.Update() method calls any of the DML statements, such as the UPDATE,
1. What is the full form of ADO? The full form of ADO is ActiveX Data Object. 2. Explain ADO.NET
67. Is it possible to associate a control with more than one ContextMenu? No, we cannot associate a control with
61. What is the difference between a ListBox control and a ComboBox control? With a ListBox control, the user can
55. Is it possible to enter more than one line in a TextBox control? Yes, it is possible to enter
49. What are the three states set in the CheckState property of CheckBox? Checked Unchecked Indeterminate 50. How can you
43. What is the importance of a Button control? A Button control is an important Windows control, which provides the
37. How can you place a border around a picture box? The PictureBox control offers the BorderStyle property, which can
31. How can you attach a horizontal scroll bar with the ListBox control? You need to set the the MultiColumn
25. How do you retrieve the customized properties of a .NET application from the XML .config file? Initialize an instance
19. Define the TrackBar control. The TrackBar control, also known as the slider control, works as a navigator to display
13. What is the function of the CheckState property of the CheckBox control? The CheckState property gets or sets the
7. How will you pick a color from the ColorDialog box? To pick a color from the color dialog box,
1. How can we auto size a button to fit its text? The Button control has the AutoSize property, which
67. Is it possible to associate a control with more than one ContextMenu? No, we cannot associate a control with
61. What is the difference between a ListBox control and a ComboBox control? With a ListBox control, the user can
55. Is it possible to enter more than one line in a TextBox control? Yes, it is possible to enter
49. What are the three states set in the CheckState property of CheckBox? Checked Unchecked Indeterminate 50. How can you
43. What is the importance of a Button control? A Button control is an important Windows control, which provides the
37. How can you place a border around a picture box? The PictureBox control offers the BorderStyle property, which can
31. How can you attach a horizontal scroll bar with the ListBox control? You need to set the the MultiColumn
25. How do you retrieve the customized properties of a .NET application from the XML .config file? Initialize an instance
9. Define the TrackBar control. The TrackBar control, also known as the slider control, works as a navigator to display
3. What is the function of the CheckState property of the CheckBox control? The CheckState property gets or sets the