Top 80+ Solved DotNet Technology MCQ Questions Answer
Q. Which of the following can be used to add alternating color scheme in a Repeatercontrol?
a. AlternatingItemTemplate
b. DataSource
c. ColorValidator
d. None of the above
Q. Which of the following method is used to obtain details about information types ofassembly?
a. GetTypes
b. GetType
c. Both A and B
d. None of the Above
Q. In ASP.NET the sessions can be dumped by using
a. Session.Dump
b. Session.Abandon
c. Session.Exit
d. None of the above
Q. Which method do you invoke on the DataAdapter control to load your generated datasetwith data?
a. Load()
b. Fill()
c. DataList
d. DataBind
Q. Which of the following denote the property in every validation control?
a. ControlToValidate
b. Text
c. Both A and B
d. None of the above
Q. The type of code found in Code-Behind class is
a. Server-side code
b. Client-side code
c. Both A and B
d. None of the above
Q. What is Diffgram?
a. The one which renders the dataset object contents to XML
b. Finds the difference in two objects
c. Finds the difference in two files
d. None of the above
Q. What is the lifespan for items stored in ViewState?
a. Exists for the Life of the current page
b. 20 mins
c. 2 mins
d. 2 sec
Q. To set page title dynamically in ASP.NET which of the following is used?
a. None of the above
b. <sheet> section
c. <tail> section
d. <head> section
Q. In ASP.NET application the Global.asax file lie in which directory
a. Application
b. System
c. Root
d. None of the above
Q. The control used in ASP.NET to display information from data set but with betterformatting and editing behavior is
a. Panel
b. Button
c. DataList
d. None of the above
Q. How do we Delete, Update, Select data in a Dataset?
a. Using SQLDataAdapter
b. Using SQLDataReader
c. Using SQLComman
d. D None