Live Help (Start Chat)
View Count: 0
Duration: 53 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 44 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 24 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 49 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 44 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 13 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 31
By using details view we can work with ________at a time. 
Options:
  1. Single record
  2. Two records
  3. Multiple records
  4. All the above
View Answer/Explanation:
d
Explanation:
DetailsView allow us to work with a single record. The default view of this control is vertical with each column displayed in a new line. It is used for updating, inserting new records and is used often in Master-Detail scenario where the details of the record selected in Master are displayed in Detail.

Question No: 2 of 31
Which of the following is true about differences of Repeater and Datalist control? 
Options:
  1. DataList and Repeater both have built-in layouts
  2. Only DataList has built-in layout
  3. Only Repetaer control has built-in layout
View Answer/Explanation:
b
Explanation:
DataList control has data selection and data editing functionalities while Repeater control is more restricted. DataList has Item Template, AlternatingItem Template, Separator Template, Header Template, Footer Template, SelectedItemTemplate, and EditItemTemplate. These templates are useful for allowing data selection and data editing functionalities.

Question No: 3 of 31
How can we pass parameters to objectdata source which is in aspx page from aspx.cs page? 
Options:
  1. Objectdatasourcename[“ParameterName”] = Value;
  2. Objectdatasourcename.Parameters[“ParameteName”] = Value;
  3. objectdatasourcename.SelectParameters["ParameterName"].DefaultValue=Value;
  4. None of the Above
View Answer/Explanation:
c
Explanation:
objectdatasourcename.SelectParameters["ParameterName"].DefaultValue=Value; //objectdatasourcename is ObjectDataSource name in aspx page. // Parameter Name is the name of the parameter that we are passing to ObjectDataSource //Value is the requried value that we want to pass to ObjectDataSource

Question No: 4 of 31
_____________types of methods are available for data binding. 
Options:
  1. 2
  2. 3
  3. 4
View Answer/Explanation:
a
Explanation:
There are two methods available for working with data source. They are Eval and Bind. Eval is used for only retrieving data from data source i.e. it is read only. Whereas Bind is used for both reading and updating the data.

Question No: 5 of 31
We can get the reference of checkboxfield by using _______ 
Options:
  1. It can be referenced by checkbox name
  2. By iterating through the control array
  3. By using form name
View Answer/Explanation:
b
Explanation:
If the type of the column is Boundfield, we can use Text property of the cell to get the value of it. Whereas if the type of the column is checkbox field then by using the Control[] (collection) property and used checked property of the checkbox to find if its checked or not.

Question No: 6 of 31
We can handle custom command events in gridview using ______ command 
Options:
  1. Update_command
  2. Row_Command
  3. Data_Command
View Answer/Explanation:
b
Explanation:
When a button is clicked in the gridview this event will raise.

Question No: 7 of 31
Using ___________property we can get the column index of the selected row. 
Options:
  1. ValueKeynames
  2. DatakeyNames
  3. DataSetKeyNames
View Answer/Explanation:
b
Explanation:
By using DataKeyNames we can make the update and delete a functionality of gridview to work.

Question No: 8 of 31
From the following which are the gridview events?
I.	DataBound
II.	DatasetBound
III.	RowUpdating
IV.	RowUpdated 
Options:
  1. I & II
  2. I, III & IV
  3. II & III
  4. II, III, IV
View Answer/Explanation:
b
Explanation:
DataBound Use to modify data as it is being loaded into control, e.g. setting a default value RowUpdating Use to manipulate data before row is updated in database, e.g., saving a timestamp field. RowDeleting Use to manipulate data before row is deleted from database, e.g., stopping delete. RowUpdated Use to react to database update, e.g. refreshing another control on page or handling update exceptions. RowDeleted Use to react to database delete, e.g. refreshing another control on page or handling delete exceptions.

Question No: 9 of 31
DataList control is used for______ 
Options:
  1. Displaying repeated list of items
  2. Displaying unrepeated list of items
  3. Displaying single item
View Answer/Explanation:
a
Explanation:
DataList control is used to display a repeated list of items that are bound to the control. By default the DataList control adds a table around the data items. The DataList control may be bound to an XML file, a database table, or another list of items.

Question No: 10 of 31
By using ________controls we can connect to a data source and read & write data. 
Options:
  1. Data source
  2. Data reader
  3. Data manager
  4. Data bound
View Answer/Explanation:
a
Explanation:
Using data source control we can connect to the database and display and modify data in our applications.

  1