Professional Documents
Culture Documents
Computer en
Computer en
2. ComboBox tool use to choose just one item from the list ( )
5. User can insert animated picture in ToolBox tool and view animated when run the
program ( )
add it to toolbox ( )
10. The return value type from the function GetDatafromExcelSheet is Data Table( )
18. The return value type from the function GetDatafromExcelSheet is Data Table( )
24. The CoboBox tool have 2 valiues one is visible (DisplayMember) and one
unvisible (ValueMember) ( )
26. SelectedIndexChanged Event Test the selected item within the control
ComboBox ( )
27. We use the Try/Catch statement to catch and handling with runtime error ( )
( )
32. There is many common properties for the major controls like Item property ( )
34. To add button to the program interface we click twice on it from ToolBox ( )
Location
5. In the code window te menu Class Name show ……… but Name Method show
………
(Name – F7 - Provider)
A B
1 - DataTable A - Is one of SQL statment
2 - DataSet B - Source of data
3 - Select C - The connection between database and
visual basic
4 - Provider D - Is a class we can create variable from it in
the memory to store database
5 - DataSource E - Is a class we can create variable from it in
the memory to store database table
2. ComboBox tool use to choose just one item from the list ()
5. User can insert animated picture in ToolBox tool and view animated when run the
program (X)
()
10. The return value type from the function GetDatafromExcelSheet is Data Table
( )
( )
18. The return value type from the function GetDatafromExcelSheet is Data Table
( )
24. The CoboBox tool have 2 valiues one is visible (DisplayMember) and one
25. VB.Net language not allow to change default control’s name ()
26. SelectedIndexChanged Event Test the selected item within the control
ComboBox ( )
27. We use the Try/Catch statement to catch and handling with runtime error ( )
( )
32. There is many common properties for the major controls like Item property ( )
34. To add button to the program interface we click twice on it from ToolBox ( )
A B
1 - DataTable A - Is one of SQL statment
2 - DataSet B - Source of data
3 - Select C - The connection between database and
visual basic
4 - Provider D - Is a class we can create variable from it in
the memory to store database
5 - DataSource E - Is a class we can create variable from it in
the memory to store database table
Answer
1–E 2–D 3–A 4–C 5–B
Q7: Read the code and choose the correct result of using it
1. Me.lblDC.Text = dt.Rows (0).Item(2).Tostring
The Text property of the lblDC assign by the value of
1- The second row and first column in the table dt
2- The first row and second column in the table dt
3- The first row and third column in the table dt (counting start
from 0)
2. Me.lblWR.Text = dt.Rows (2).Item(4).Tostring
The Text property of the lblWR assign by the value of
1- The second row and fourth column in the table dt
2- The theird row and fifth column in the table dt (counting start
from 0)
3- The second row and fifth column in the table dt
ComboBox control
3. It is prefer the name of the button control start with (frm – btm – uro)
4. It is prefer the name of the label control start with (lbl – btm – cmb)
5. To use the variable in more than Event without errors, we should declare it in the (
7. When we use If statement, if the condition is false so the program run the code after
9. Arrange the steps to bring data from data base to the control
tools
(3) Transfer data to the data table in the computer memory
( 1 ) Connect with the data base that contains the data to be collected
( 4 ) View the data by the Controls in the form
( 2 ) Collect data from a database stored on any storage medium