ASP .NET Interview Questions and Answers
Ques 26. How can you provide an alternating color scheme in a Repeater control?
Use the AlternatingItemTemplate.
Is it helpful?
Add Comment
View Comments
Ques 27. What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?
You must set the DataSource property and call the DataBind method.
Is it helpful?
Add Comment
View Comments
Ques 28. What base class do all Web Forms inherit from?
The Page class.
Is it helpful?
Add Comment
View Comments
Ques 29. Name two properties common in every validation control?
ControlToValidate property and Text property.
Is it helpful?
Add Comment
View Comments
Ques 30. Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?
DataTextField property.
Is it helpful?
Add Comment
View Comments
Most helpful rated by users:
- What’s the difference between Response.Write() andResponse.Output.Write()?
- Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
- What methods are fired during the page load?
- What namespace does the Web page belong in the .NET Framework class hierarchy?
- When during the page processing cycle is ViewState available?