Here's a preview of the final. The final exam will be opened tonight at midnight.
1. What is a DataTable a collection of?
2. How do I check to see if a user is viewing a page for the first time?
3. Which control is similar in funcationality and behavior to a ListBox?
4. Name the main parts of an Object Class.
5. I have a session variable called "MyData". How would I cast "MyData" as a DataTable?
6. What is the primary event for a Button object?
7. I am getting the following error:
System.NullReferenceException: Object reference not set to an instance of an object.
Most likely, this is caused by:
8. Imagine a student database table. I need to add a method to my object class which would select all graduating seniors. What type of method would I make this?
9. I have a DataTable called 'dtClassSchedule' with three columns: "DepartmentCode", "ClassCode", "Section".
I need to add a new row where:
"DepartmentCode" = "CSC"
"ClassCode" = "177"
"Section" = "290"
How would I hard code this?
10. With our class projects in mind, what is the first event fired from a .aspx web page?
11. Which control is similar in functionality and behavior to a DropDownList?
12. What is a GUID used for?
13. Which control(s) are a collection of ListItems?
14. Suppose I have an Object Class called MyClass, and an Accessor called Value1.
Would I be using a 'get' or 'set':
this.TextBox1.Text = MyClass.Value1;
15. Suppose I have an Object Class called MyClass, and an Accessor called Value1.
Would I be using a 'get' or 'set':
MyClass.Value1 = this.TextBox1.Text;
16. Explain the post-back process.
17. What command do we use to bind a column from a DataTable to a control embedded in a template column of a GridView?
18. I am need of two constructors for my Object Class called MyClass. One constructor takes an ID of type Guid and a FilePath of type string, the other takes only the ID. What would my constructors be?
19. Suppose we have a TextBox called 'MyTextBox'.
It's text property is set to 'Hello World'.
How would I parse the text into a string array?
How would I loop through the array?
20. Imagine a student database table. I need a method in my object class which updates a student record with new information. This method is an example of:
21. What steps would I take to connect a .aspx page to a SQL Database.
22. I have a music database table with the following columns:
TrackID
TrackName
TrackLength
ArtistID
For the Object Class: list the Accessors, Public Methods, and Static Methods.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment