Chapt. 13 "Try It Out" - Auto-Generated Commands
[u]Beginning ASP.NET 1.0 with C#</u> is a great book, I have learned much from it and I have had little difficulty getting the "Try It Out" examples to work. The example on page 514 worked just find but when I reviewed it later I noticed something odd. There are two objects which are declared, DataSet objDataSet and OleDbCommand objComnand which do not seem to actually be used in the rest of the code. When I remove these lines from my CommandObjects.aspx file the example works just fine without them. So my question is: Why are these lines there? Am I missing something or were these two objects included in the example by mistake?
Just want to know.
Frank Tully
|