What is a connectionstring

Assignment Help DOT NET Programming
Reference no: EM133591

Question 1

(a) Using a diagram, illustrate the basic process in an ASP.NET Architecture involving at least five objects.

(b) Give four benefits of using Web Controls rather than HTML Controls.

(c) Explain the following built-in functions and illustrate each using simple examples. Specify all possible parameters where required.

(i) Len()

(ii) InStr().

(d) Using appropriate ASP.NET validator controls, write extract codes to validate the following form fields as described:

(i) email field must not be empty

(ii) Credit card number field must contain exactly 16 numbers

(iii) DOB field must contain a valid date type.

Note: Include appropriate error messages.

Question 2

(a) List five benefits of using Business Components in an ASP.NET application.

(b) Describe how the Global Application File differs from the Web.config file.

(c) Outline three ways how to use ViewState in a Web Form.

(d) Explain how the AdRotator control works. Illustrate your answer using extract codes.

Question 3

(a) The Repeater control uses templates to control formatting. Give the five types of templates supported by the Repeater control.

(b) You can enable cookieless sessions by modifying the sessionState element in the web configuration file. List and explain four possible values for the cookieless attribute as used in the sessionState element.

(c) (i) Which potential problems may arise when you change items stored in an Application State object?

(ii) What should you do to prevent this?

(d) Write extract codes to demonstrate how you can achieve the following:

(i) set a persistent cookie from the value entered in the "txtUsername" TextBox control

(ii) retrieve the cookie value

(iii) delete the cookie.

Question 4

(a) What is a ConnectionString? Give a suitable example to illustrate the various part of a ConnectionString.

(b) Distinguish between the following methods as used in ADO.NET:

(i) ExecuteReader()

(ii) ExecuteNonQuery()

(iii) ExecuteScalar()

(c) Give four options that allow you to store Session State Data.

(d) Write an ASP.NET program that allows you to retrieve and display all data from the Employees database table in a GridView control, using the DataSet principles.

Database name: industry.mdf

Table name: tblEmployees

Note: Programmatic approach required here

 

Reference no: EM133591

Questions Cloud

Compute the variance and standard deviation : Compute the variance and standard deviation
Compute the range and interquartile range : Compute the range and interquartile range
Plan the scatter diagram : Plan the scatter diagram
Evaluate dina''s basis in the land : What is the amount and character of the profits Dina recognizes as a result of the distribution? Evaluate Dina's basis in the land?
What is a connectionstring : What is a ConnectionString. Give a suitable example to illustrate the various part of a ConnectionString
Evaluate the consolidated financial statements : Determine the value that would be shown in Padre and Sol's consolidated financial statements for each of the accounts listed. (Input all amounts as positive values.)
Are members of management ethically bound : Are members of Management ethically bound to perform unethically? I
Who are the stakeholders in this situation : Who are the stakeholders in this situation? What are the ethical issues involved in this situation? What would you do if you were Steve Morgan?
Why the irs disputed the gleason''s characterization : Describe why the Gleasons felt that their exchange of property was a 1031 transaction. Why the IRS disputed the Gleason's characterization

Reviews

Write a Review

DOT NET Programming Questions & Answers

  Using .net resources to teach .net

This project will use the .NET framework to produce a set of materials to demonstrate the fundamental principles of .NET. Ideally it should demonstrate some of the principles of the framework e.g. interoperability.

  Develop web services based application

Develop and test a Web services based application that meets the requirements applying SOA design principles.

  Design style elements in asp

Add drop down lists for modifying the different style elements for the label element that displays the time

  Blinky lights

Analysis proving that your code blinks the LEDs at the specified rates.

  Prepare a web application

Prepare a web application that will be used to keep track of patients registering in a hospital.

  Create a shopping cart in asp

The users will use a browser to access the on-line store. The web server software for the production web server is Windows 2003 Server /IIS6.

  Describe the characteristics of visual studio 2005

Describe the characteristics of Visual Studio 2005 Visual Studio.Net is a suite of products that includes 4 main languages. Name these languages and outline their use in industries

  Inventory management system in c# application

Inventory management system in c# application

  Prepare a marymount faculty site

Prepare a Marymount faculty site

  Implementing the insurance management system

Implementing the Insurance Management System and implementation of Components as Web Services.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd