13)WHich of the following is not a keyword in Visual Basic?
A)Dim B)ReDim C)Start D)Next
14)Which syntax is used to add an item to listbox?
A)ListBox.Items.Add() B)ListBox.Items.Item.Insert() C)ListBox.selectedItem.Add() D)ListBox.Items.Index.Add()
15)Which function is used to execute an sql statement
and returns the number of row affected from an object of the sqlCommand?
A)ExecuteNonQuery() B)ExecuteQuery() C)Execute() D)ExecuteBegin()
16)Which of the following converts the expression to Char data type in VB.NET?
A)Convert.ToBool(expression) B)Convert.ToCharacter(expression) C)Convert.ToString(expression) D)Convert.ToChar(expression)
17)Which of the following is not string manipulation method?
A)RemoveAt() B)Remove() C)Substring() D)ItemOf()
13)WHich of the following is not a keyword in Visual Basic?
A)Dim B)ReDim C)Start D)Next
Answer:
C)Start
14)Which syntax is used to add an item to listbox?
A)ListBox.Items.Add() B)ListBox.Items.Item.Insert() C)ListBox.selectedItem.Add() D)ListBox.Items.Index.Add()
Answer:
A)ListBox.Items.Add()
15)Which function is used to execute an sql statement and returns the number of row affected from an object of the sqlCommand?
A)ExecuteNonQuery() B)ExecuteQuery() C)Execute() D)ExecuteBegin()
Answer:
A)ExecuteNonQuery()
16)Which of the following converts the expression to Char data type in VB.NET?
A)Convert.ToBool(expression) B)Convert.ToCharacter(expression) C)Convert.ToString(expression) D)Convert.ToChar(expression)
Answer:
D)Convert.ToChar(expression)
17)Which of the following is not string manipulation method?
A)RemoveAt() B)Remove() C)Substring() D)ItemOf()
Answer:
D)ItemOf()
Comments
Leave a comment