Tag: programming languages
Questions Related to programming languages
-
To get information about event-handler
-
To get or set property values
-
Classes in other namespace can use reflection to access data and to determine which fields to persist
-
None of the above
-
takes Boolean condition as parameter and shows error dialog if condition is true; but proceeds without interruption if condition is false.
-
takes Boolean condition as parameter and throws exception if condition is false; but proceeds without interruption if condition is true.
-
takes Boolean condition as parameter and shows error dialog if condition is false; but proceeds without interruption if condition is true.
-
None of above
-
Structs are value-type variables
-
Structs are saved on stack
-
structs can be inherited.
-
None of the above.
-
Both 1 and 2
-
Only 1
-
Only 2
-
Both 1 and 3
-
SQLServer.NET data provider is faster than any other provider.
-
OLE-DB.NET is universal for accessing various data sources other than SQL Server also, but it’s a .NET layer on top of OLE layer, so is comparatively slow.
-
ODBC.NET is a deprecated layer provided for backward compatibility to ODBC engines.
-
None of the above
-
Both are same.
-
A table can have multiple primary key and unique key.
-
Primary keys does not allow null values, but unique key allows only one null value.
-
Both does not allow null values
-
string strMessage = "Processing Successful"; string strScript = "alert('" + strMessage + "');"; if(!ClientScript.IsClientScriptBlockRegistered("Startup")) {ClientScript.RegisterClientScriptBlock(Page.GetTy
-
string strMessage = "Processing Successful"; string strScript = " alert('" + strMessage + "');"; if(!ClientScript.IsClientScriptBlockRegistered("Startup")) {ClientScript.RegisterClientScriptBlock(Page.GetType(), "startup", strScript);}
-
string strMessage = "Processing Successful"; string strScript = "alert('" + strMessage + "');"; ClientScript. RegisterStartupScript(Page.GetType(), "startup", strScript);
-
string strMessage = "Processing Successful"; string strScript = " alert('" + strMessage + "');"; ClientScript. RegisterStartupScript(Page.GetType(), "startup", strScript);
-
Truncate command is same as delete command with no where clause.
-
Data cannot be rolled back when Truncate command is used, while data can be rolled back when delete command used.
-
Data cannot be rolled back when Delete command is used, while data can be rolled back when truncate command used.
-
Both are DML commands.