Thursday, May 10, 2007

Day 1 - Notepad, Strongly Typed Datasets

9pm

Notepad ++ - http://notepad-plus.sourceforge.net/uk/site.htm Open Source text editor

Reading Data Tutorials from http://www.asp.net/learn/dataaccess/default.aspx?tabid=63. This is a 57 set of subtutorials.

#1 was about the Data Access Layer. To return strongly typed objects, they are using Typed DataSets versus Business Object (which we are using). An example of loosely-typed objects are the dataReader and DataSet... to access a particular column here we would use :

DataTable.Rows[index]["columnName"]
DataTable.Rows[index].columnName (strongly typed)

Advantages of strongly typed are that we know of errors at compile time, and don't have to wait to connect to the database, and see wrong data flow through the app.

No comments: