Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

3.1 The following refer to objects.
a. What are the benefits of creating a class?
b. What is the difference between a data member in a class and a property of a class?
c. What's an overloaded method?

3.2 The following refer to shared properties.
a. How does a shared property differ from an object instance property?
b. What uses are there for shared properties?
Module 4
4.1 Suppose we want to execute an SQL query against a particular database and display the results. Explain how each of the following objects would be used:
a. Connection
b. Command
c. DataReader

4.2 What are the differences between a DataSet and a DataReader?

4.3 ASP Datasets are disconnected. What are the practical effects, both good and bad, of this decision? 

4.4 How can you update a database in an ASP page without using a DataAdapter?
Module 5
5.1 What are the advantages of ASP.NET server controls versus HTML server controls? Given those advantages, explain why HTML server controls should still sometimes be used. 

5.2 What sorts of activities are commonly performed in the following events?
a. Page_Load
b. Page_Unload

5.3 The following refer to validation controls. You may need to reference the Class Browser and MSDN documentation to answer these.
a. What property tells you that input failed to validate?
b. What is the purpose of a validator's ErrorMessage property?
c. Can a single control be bound to multiple validators?

5.4 The following refer to data rendering controls.
a. What is the difference between a DataList and a Repeater?
b. What are some of the advantages of using a data rendering control versus simply writing code to display the contents of a recordset?

5.5 The following refer to states.
a. What kinds of data should be stored in the application state?
b. What kinds of data should be stored in the session state?
c. Why is it important to limit the amount of data stored in the application and session states? 

5.6 What sort of data should be stored in a cookie?

INVESTMENT CALCULATOR 2.0
Create a class called Investment. This class should have properties for an investment amount, the year the investment started, and a percentage growth rate. It should also have a method which is passed a year and returns the value of that investment in that year. For example, after setting the initial investment amount to $10,000, the initial year to 1990, and the growth rate to 0.11 (representing 11%), calling this method with the value 1992 would return $12,321.
Modify your investment calculator so that the page has four text boxes, one for an initial investment, one for the initial year, one for the last year of the investment, and one for a percentage yearly growth rate, all properly labeled. When the user fills in all three boxes and clicks a button, the current value of the investment will be displayed. 
* Make use of your Investment class.
* Add validators to the text boxes to force the user to enter valid values.
* Using cookies, have the program remember the values in the text boxes. That is, if the user types in numbers in all three boxes and clicks the button, the user can close the browser, reopen the browser and this page, and the last numbers entered should be in the boxes.

BOOKSTORE 2.0
Using the Northwind database, write a page that displays a list of all the shippers in a list box control. When a shipper is selected in the list, have the shipper's ID number displayed in a label.
To do this, set the list box's DataTextField to the company name (so we will see the names listed in the list box) but set the DataValueField to the shipper ID. Then when the list box index changes, you only need to display the value of the selected item.
Important note: your code should assume the Northwind database is located at C:BegASPNet11 data Northwind.mdb.

BOOKSTORE 3.0
Expanding the previous program, instead of displaying the shipper ID, display the order date and shipping address of all the orders for the selected shipper. Display the orders in a data grid control.  

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9651207

Have any Question?


Related Questions in Computer Engineering

Requested files diceh dicecpp diceanddangercpp

Requested files: Dice.h, Dice.cpp, DiceAndDanger.cpp, DiceAndDanger_test.cpp With this program, you will begin the practice of breaking source code into distinct modules that are responsible for limited scopes of behavio ...

Do you need computers or information and communication

Do you need computers or information and communication technologies to store, organize, and manage data in organizations? Explain how the present day organizations in a developed country like the USA store and manage the ...

The gravitational attraction between any two objects in the

The gravitational attraction between any two objects in the universe is given by the following formula: Force of Gravity = (G * m * n) / r 2 Where  m  and  n  are masses of the objects in kilograms,  r  is the distance b ...

Section 1 introduction write an introduction statement

Section 1: Introduction Write an introduction statement introducing the topic that you are interested in exploring. This section should contain the following background: Identify an industry and company profile you wish ...

What are some of the basic principles involved with

What are some of the basic principles involved with utilizing the ADT stack? What are some applications that could effectively utilize a stack?

Represent the number obtained by the last you have digits

Represent the number obtained by the last you have digits of your student number in binary, e.g., if your student number is XXX8372 then the question is to represent "8372" in binary. Also, represent the first three digi ...

Question you are required to sort a file containing

Question : You are required to sort a file containing integers between 0 and 999999. You cannot afford to use one million pigeon-holes, so you decide instead to use one thousand pigeon-holes numbered from 0 to 999. You b ...

Question suppose you are constructing a 3-bit counter using

Question : Suppose you are constructing a 3-bit counter using three D flip-flops and some selection of gates. The inputs to the system are Reset (sets every output to zero) and Inc (a signal to increment the counter). Th ...

If a html or pdf full text link to an article is shown can

If a HTML or PDF Full Text link to an article is shown, can you access that source by clicking on the full text link?

Please explain to me the concept of policing with emphasis

Please explain to me the concept of policing with emphasis on the "leaky bucket" mechanism.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As