Which of the following is not a member of ADOdbcommand object
Skill/topic: advanceda) executereaderb) executescalarc) executestreamd) opene) commandtext
Whch of the following is not a member of response object?
Skill/topic: advanceda) clearb) writec) executed) flush
Clear
Execute
Postback occurs in which of the following forms
Skill/topic: beginnera) winformsb) HTMLformsc) webforms
web forms only
Web forms only
Which one of the following namespaces contains the definition for idbconnection
Skill/topic: advanceda) system.Data.Interfacesb) system.Data.Commonc) system.Datad) system.Data.Connection
System.Data
C) System.Data
The first event to be triggered in an aspx page is
Skill/topic: beginnera) page_load()b) page_init()c) page_click()
Page_Init(object sender,EventsArgs e)
{
}
page_init()
What is the default authentication mode for iis
Skill/topic: intermediatea) windowsb) anonymousc) basic authenticationd) none
B) Anonymous
A) Windows
Where is the default session data is stored in ASP.Net
Skill/topic: intermediatea) inprocessb) stateserverc) SQL serverd) all of the above
A) InProcess
InProcess
How do you explicitly kill a user’s session ?
Skill/topic: intermediatea) session.Close ( )b) session.Discard ( )c) session.Abandond) session.End
C) Session.Abandon
A) Session.Close()
How to retrieve the third table value from the data set?
Code
ds.Tables[2].Rows[SpecificRow][SpecificColumn].ToString(); // SpecificRow- is an Row Index // SpecificColumn - is either DataColumn or Column Name in string or Column Index
Which is the executable unit which gets created when we build an ASP.Net application?
DLL
The sources written into .aspx files are compiled into a .dll file that has the project name and placed into the project's bin folder.
Session object classes are defined in which of the following namespace?
Skill/topic: intermediatea) system.Web.Uib) system.Web.Sessionstatec) system.Web
B) System.Web.SessionState
system.web
What is difference between link button and hyperlink?
HyperLink will not PostBack your page to the server. It will post a simple request to the server for the URL you set as href. The LinkButton works exactly as a normal Button but it looks like an Hyper...
How to open a new page while clicked on link?
Code
<a href="One.aspx" target="_blank">My Link</a>
What is the use of adrotater control?
The AdRotator control is used to display a sequence of ad images.
This control uses an XML file to store the ad information. The XML file must begin and end with an
The AdRotator control is used to display a random selection from a collection of banner advertisements specified in an XML based advertisement file.
What is the use of repeater control?
The Repeater control is used to display a repeated list of items that are bound to the control. The Repeater control may be bound to a database table, an XML file, or another list of items.
What object is attached by the current request if one uses windows authentication?
WindowsPrincipal and WindowsIdentity objects are created.
Skill/topic: intermediatea) trueb) false
true
A) true
CSS means Cascading Style Sheets
eg. if we want to set color of a label control we can use CSS styles directly in our control tag.
A web application running on multiple servers is called as
Skill/topic: beginnera) webformb) webfarmc) website
B) Webfarm
A) WebFarm
What namespace does the web page belong in the .Net framework class hierarchy?
Skill/topic: beginnera) system.Web.Ui.Pageb) system.Windows.Pagec) system.Web.Page
System.Web.UI.Page
System.Web.UI.Page
Which of the following is true ?
Skill/topic: beginnera) ispostback is a method of system.Ui.Web.Page classb) ispostback is a method of system.Web.Ui.Page classc) ispostback is a reADOnly property of system.Web.Ui.Page class
C) IsPostBack is a readonly property of System.Web.UI.Page class
IsPostback is a readonly Property of System.Web.UI.Page class.
It's Correct No-Doubt abt this...................
C) ExecuteStream
C. ExecuteStream
D. Open
Both are not a member of ADODB Command Object