A.ItemDataBound
B.Init
C.Prerender
D.<something I don‟t remember>
您可能感兴趣的试卷
你可能感兴趣的试题
A. IComparer<T>
B. IEnumerable<T>
C. IEnumerator<T>
D. IEqualityComparer<T>
A.<%: Model.FirstName %>
B.<%= Model.FirstName %>
C.<% Response.Write(Model.FirstName) %>
D.<% Response.Write(HttpUtility.HtmlDecode(Model.FirstName)) %>
A.Html.ActionLink("Home", "Index", "Home")
B.Html.ActionLink("Home", "Index", "Home", new {area = ""}, null)
C.Html.ActionLink("Home", "Index", "Home", new {area = "Blog"}, null)
D.Html.ActionLink("Home", "Index", "Home", new {area = "Home"}, null)
You are developing an ASP.NET Web page. You add the following markup to the page.
You add the following code segment to the code-behind.
You need to save the uploaded file and display a message to the user that indicates that the upload either succeeded or failed. Which two actions should you perform?()
A.Replace line 3 with the following code segment. if (FileUpload1.HasFile)
B.Replace line 3 with the following code segment. if (FileUpload1.FileContent.Length > 0)
C.Insert the following code segment at line 6. FileUpload1.SaveAs(saveName);
D.Insert the following code segment at line 6. FileUpload1.FileContent.CopyTo(new FileStream(saveName, FileMode.Open);
A.PlaceHolder
B.ContentPlaceHolder
C.Content
D.Substituition
A.Use an ObjectDataSource control and set its TypeName property to System.Data.SqlClient.SqlConnection.
B.Use a SqlDataSource control and configure its ConnectionString in the web.config file.
C.Use an XmlDataSource control together with an Xml control that represents the database.
D.Use a LinqDataSource control with entity classes that represent the elements in the database.
A.Set the DataPager control’s PageSize property to the number of rows to view at one time.
B.Set the DataPager control’s PagedControlID property to the ID of the ListView control.
C.In the code-behind file, set the DataPager control’s Parent property to the ListView control.
D.In the code-behind file, set the ListView control’s Parent property to the DataPager control.
A.RowDataBound
B.RowCommand
C.RowUpdated
D.RowEditing
A.the XCOPY command-line tool
B.the Copy Web Site tool
C.the Web Deployment tool
D.the Publish Web Site utility
最新试题
Which event of the GridView class occurs when the Edit button of a row is clicked, but before the GridView control enters edit mode?()
The page will be posted to the server after one or more image files are selected for upload.You need to ensure that all unuploaded files are saved to the server within one call to a single event handler. What should you do? ()
You have a login.ascx control and to display it in a view which method u would use()
You are developing a Asp.net web application tht includes a panel control that has ID contentsection.You need to add a textBox control to the panel control.()
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. You create a Web page in the application. The Web page will get large sets of data from a data source. You add a DataPager control to the page. You are required to display navigation controls that enable you to create a custom paging Ul for the DataPager control. What will you do?()
You have migrated a web application from .net 3.5 to 4.0. the application hat to render same as in .net 3.5.()
Which control allows you to bind to data items that are returned from a data source and display them?()
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. The ASP.NET application is used to track employee performance. It uses Microsoft Windows authentication. Employees are members of a group named Employees. Managers are members of a group named Managers. The root folder of the application is named Details. The Details folder displays information about employees„ performance. The Details folder has a subfolder named MoreDetails. You need to ensure that employees and managers can access pages stored in the Details folder. However, only managers can access pages stored in the MoreDetails folder. You make the following entries in the Web.config file in the Details folder.You make the following entries in the Web.config file in the MoreDetails folder.When managers try to access pages stored in the MoreDetails folder, they receive the following error message:"An error occurred during the processing of a configuration file required to service this request." You must ensure that managers are able to access pages stored in the MoreDetails folder. What will you do to accomplish this?()
A library called contosobuisness.dll has been created and u need to accept it in a page.. all options had the <%assembly tag but the att differed.()
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. The Web application connects to a SQL Server database. You use the ADO.NET Entity Framework to handle persistence-ignorant entities. You create an ObjectContext object named ObjContext. Subsequently, you change properties on numerous entities. You are required to save the changed entity values in the SQL Server database. Which of the following code segments will you use?()